mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-12-12 15:35:39 +00:00
Compare commits
5 commits
32209e5899
...
2c2765115f
Author | SHA1 | Date | |
---|---|---|---|
XargonWan | 2c2765115f | ||
XargonWan | 3f3c17158a | ||
XargonWan | a492fdb0a6 | ||
XargonWan | 3c3f32686d | ||
XargonWan | 7963223627 |
|
@ -10,17 +10,21 @@ done
|
||||||
|
|
||||||
case "$pkg_mgr" in
|
case "$pkg_mgr" in
|
||||||
apt)
|
apt)
|
||||||
sudo apt install -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl jq
|
# Aggiorna l'indice dei pacchetti, poi installa o aggiorna solo i pacchetti indicati
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install --only-upgrade -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl jq
|
||||||
;;
|
;;
|
||||||
pacman)
|
pacman)
|
||||||
sudo pacman -S --noconfirm flatpak flatpak-builder p7zip xmlstarlet bzip2
|
# Aggiorna i pacchetti specificati senza influenzare il resto del sistema
|
||||||
|
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)
|
||||||
sudo dnf install -y flatpak flatpak-builder p7zip p7zip-plugins xmlstarlet bzip2 curl
|
# Aggiorna i pacchetti specificati senza influenzare il resto del sistema
|
||||||
|
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."
|
||||||
|
|
|
@ -715,6 +715,13 @@ modules:
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
|
|
||||||
|
# This prevents appstream-compose to fail
|
||||||
|
- |
|
||||||
|
if [ -d ${FLATPAK_DEST}/usr ]; then
|
||||||
|
mv -n ${FLATPAK_DEST}/usr/** ${FLATPAK_DEST}/share
|
||||||
|
rm -rf ${FLATPAK_DEST}/usr
|
||||||
|
fi
|
||||||
|
|
||||||
# Initializing RO retrodeck config folder
|
# Initializing RO retrodeck config folder
|
||||||
- mkdir -p ${FLATPAK_DEST}/retrodeck
|
- mkdir -p ${FLATPAK_DEST}/retrodeck
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue