1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

only install if not found

This commit is contained in:
Jason Nagin 2024-10-29 15:14:41 -04:00 committed by GitHub
parent c00a850765
commit af27ec8018
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ repo: script.sh
script.sh: script.sh:
cat << EOF > script.sh cat << EOF > script.sh
dnf install -y flatpak which flatpak &> /dev/null || dnf install -y flatpak
mkdir -p /flatpak/flatpak /flatpak/triggers mkdir -p /flatpak/flatpak /flatpak/triggers
mkdir /var/tmp || true mkdir /var/tmp || true
chmod -R 1777 /var/tmp chmod -R 1777 /var/tmp