From 98b67230633b6f8e9782f9a2f39dbbcf73621de6 Mon Sep 17 00:00:00 2001 From: exu Date: Fri, 17 Nov 2023 16:47:58 +0100 Subject: [PATCH] Handle first time execution --- arch-setup/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index aa7f39b0..ffed55d2 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -224,7 +224,9 @@ for choice in $choices; do done ' -rm "$setupdir/notfoundpackages.txt" +if [ -f "$setupdir/notfoundpackages.txt" ]; then + rm "$setupdir/notfoundpackages.txt" +fi # NOTE on unattended pacman installing # Option 1: Will assume the default choice