From af27ec80188eee4f0d9a9ac26a4c26eef2573081 Mon Sep 17 00:00:00 2001 From: Jason Nagin <33561705+JasonN3@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:14:41 -0400 Subject: [PATCH] only install if not found --- flatpaks/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatpaks/Makefile b/flatpaks/Makefile index fc22df3..7729d01 100644 --- a/flatpaks/Makefile +++ b/flatpaks/Makefile @@ -14,7 +14,7 @@ repo: script.sh 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 /var/tmp || true chmod -R 1777 /var/tmp