Actualiser install.sh

This commit is contained in:
wilou 2024-03-15 16:11:13 +00:00
parent 3c0d803354
commit 40b811a330

View File

@ -140,51 +140,16 @@ apt install -y thunderbird-l10n-fr
# Désinstallation des paquets non désirés # Désinstallation des paquets non désirés
apt remove -y fortunes-min apt remove -y fortunes-min
# Approbation du dépot pour QOwnNotes
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
mkdir -p "$(dirname "${SIGNED_BY}")"
curl --silent --show-error --location http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/Release.key | gpg --dearmor | tee "${SIGNED_BY}" > /dev/null
chmod u=rw,go=r "${SIGNED_BY}"
# Ajout du dépot et installation de QOwnNotes à partir de celui-ci
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
ARCHITECTURE="$(dpkg --print-architecture)"
echo "deb [arch=${ARCHITECTURE} signed-by=${SIGNED_BY}] http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/ /" | tee /etc/apt/sources.list.d/qownnotes.list > /dev/null
apt update
apt install -y qownnotes
# Logiciel hors dépôts : Applications Web # Logiciel hors dépôts : Applications Web
wget --recursive --no-parent --no-host-directories --no-directories --accept '*webapp-manager*deb' 'http://packages.linuxmint.com/pool/main/w/webapp-manager/' -P /tmp/wibian/ wget --recursive --no-parent --no-host-directories --no-directories --accept '*webapp-manager*deb' 'http://packages.linuxmint.com/pool/main/w/webapp-manager/' -P /tmp/wibian/
release=$(ls /tmp/wibian/webapp-manager_1.* | tail -1) release=$(ls /tmp/wibian/webapp-manager_1.* | tail -1)
apt install -y $release apt install -y $release
# Logiciel hors dépôts : PVE VDI Client
apt install -y python3-pip python3-proxmoxer python3-tk virt-viewer
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
pip3 install PySimpleGUI --break-system-packages
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py
cd $builddir
# Logiciel hors dépots : Deskreen
package="https://(.*)deskreen_(.*).deb"
wget $(curl -L -s https://api.github.com/repos/pavlobu/deskreen/releases/latest | grep -o -E $package) -P /tmp/wibian/
apt install -y /tmp/wibian/deskreen_*.deb
# Logiciel hors dépots : Youtube music # Logiciel hors dépots : Youtube music
package="https://(.*)youtube-music_(.*).deb" package="https://(.*)youtube-music_(.*).deb"
wget $(curl -L -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep -o -E $package) -P /tmp/wibian/ wget $(curl -L -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep -o -E $package) -P /tmp/wibian/
apt install -y /tmp/wibian/youtube-music_*.deb apt install -y /tmp/wibian/youtube-music_*.deb
# Logiciel hors dépots : DroidCam
apt install -y libavutil-dev libswscale-dev libasound2-dev libspeex-dev libusbmuxd-dev libplist-dev libturbojpeg0-dev linux-headers-`uname -r` gcc
package="https://(.*)droidcam_(.*).zip"
wget $(curl -L -s https://api.github.com/repos/dev47apps/droidcam/releases/latest | grep -o -E $package)
unzip droidcam_*.zip -d droidcam
cd droidcam && ./install-client && ./install-video
cd $builddir
# Flatpak (reboot nécéssaire) # Flatpak (reboot nécéssaire)
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y \ flatpak install -y \