mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-12-12 15:35:39 +00:00
Compare commits
3 commits
2c2765115f
...
9de85d1aa2
Author | SHA1 | Date | |
---|---|---|---|
XargonWan | 9de85d1aa2 | ||
XargonWan | 89f24842ee | ||
XargonWan | 6398331443 |
|
@ -10,21 +10,19 @@ 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 apt update
|
sudo apt update
|
||||||
sudo apt install --only-upgrade -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl jq
|
sudo apt install -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 --noconfirm flatpak flatpak-builder p7zip xmlstarlet bzip2
|
||||||
sudo pacman -Syu --needed --noconfirm flatpak flatpak-builder p7zip xmlstarlet bzip2
|
|
||||||
;;
|
;;
|
||||||
rpm-ostree)
|
rpm-ostree)
|
||||||
echo "When using a distro with rpm-ostree, you shouldn't build directly on the host. Try using a distrobox."
|
echo "When using a distro with rpm-ostree, you shouldn't build directly on the host. Try using a distrobox."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
dnf)
|
dnf)
|
||||||
# Aggiorna i pacchetti specificati senza influenzare il resto del sistema
|
sudo dnf install -y flatpak flatpak-builder p7zip p7zip-plugins xmlstarlet bzip2 curl
|
||||||
sudo dnf upgrade --refresh -y flatpak flatpak-builder p7zip p7zip-plugins xmlstarlet bzip2 curl
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Package manager $pkg_mgr not supported. Please open an issue."
|
echo "Package manager $pkg_mgr not supported. Please open an issue."
|
||||||
|
|
Loading…
Reference in a new issue