From 11cdc0c1cce45dfed29e77bd25937af419efe317 Mon Sep 17 00:00:00 2001 From: t470p Date: Wed, 8 May 2024 07:49:16 -0500 Subject: [PATCH] / if else upd --- scripts/99_software.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 634b869..58d1026 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -79,10 +79,11 @@ if [ ${operation} == "update" ] ; then list_aur=() for x in ${packages[@]} do - if [[ $installed == *$x* ]] + #if [[ $installed == *$x* ]] + if [[ $installed == $x ]] then echo "Skipping (1) $x" - elif [[ $installed != *$x* ]] + else #if [[ $installed != $x ]] then if [[ $(echo "$installed" | grep -E -o "^$x$") != $x ]] then if [[ "$x" =~ ^aur:* ]]; then