From 7d17253369c3ddb3897e5b3ad278e88824060c86 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 14:25:44 -0500 Subject: [PATCH] u --- scripts/99_software.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 29a4b3e..5fba07f 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -77,6 +77,7 @@ if [ ${operation} == "update" ] ; then then if [[ $(echo "$installed" | grep -E -o "^$x$") != $x ]] then + grep -o '^[^#]*' ${x} > x echo "Adding $x to list" list+="$x " else @@ -87,7 +88,8 @@ if [ ${operation} == "update" ] ; then if [[ -n "$list" ]] then - pacman -S --needed --noconfirm $list + echo $list + #pacman -S --needed --noconfirm $list else echo "Nothing to install" fi