This commit is contained in:
tuxwarrior
2024-05-01 14:25:44 -05:00
parent 4e2cc4e318
commit 7d17253369

View File

@@ -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