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:
parent
c00a850765
commit
af27ec8018
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue