DEPENDENCIES: added flatpak/stable repository for ubuntu as the LTS got older versions of flatpak builder

This commit is contained in:
XargonWan 2024-10-31 13:39:25 +09:00
parent 6398331443
commit 89f24842ee

View file

@ -10,13 +10,11 @@ done
case "$pkg_mgr" in case "$pkg_mgr" in
apt) apt)
# Aggiorna l'indice dei pacchetti, poi installa o aggiorna solo i pacchetti indicati sudo add-apt-repository -y ppa:flatpak/stable
sudo add-apt-repository ppa:flatpak/stable
sudo apt update sudo apt update
sudo apt install --only-upgrade -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl jq sudo apt install --only-upgrade -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl jq
;; ;;
pacman) pacman)
# Aggiorna i pacchetti specificati senza influenzare il resto del sistema
sudo pacman -Syu --needed --noconfirm flatpak flatpak-builder p7zip xmlstarlet bzip2 sudo pacman -Syu --needed --noconfirm flatpak flatpak-builder p7zip xmlstarlet bzip2
;; ;;
rpm-ostree) rpm-ostree)
@ -24,7 +22,6 @@ case "$pkg_mgr" in
exit 1 exit 1
;; ;;
dnf) dnf)
# Aggiorna i pacchetti specificati senza influenzare il resto del sistema
sudo dnf upgrade --refresh -y flatpak flatpak-builder p7zip p7zip-plugins xmlstarlet bzip2 curl sudo dnf upgrade --refresh -y flatpak flatpak-builder p7zip p7zip-plugins xmlstarlet bzip2 curl
;; ;;
*) *)