diff --git a/scripts/99_software.sh b/scripts/99_software.sh index cd6d03d..a49d2ab 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -79,12 +79,10 @@ if [ ${operation} == "update" ] ; then list_aur=() for x in ${packages[@]} do - #if [[ $installed == *$x* ]] if [[ $installed == $x ]] then echo "Skipping (1) $x" - else #if [[ $installed != $x ]] -# then + else if [[ $(echo "$installed" | grep -E -o "^$x$") != $x ]] then if [[ "$x" =~ ^aur:* ]]; then x=${x:4}