diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 82f6e29..9b551a1 100755 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -234,8 +234,8 @@ if [ ${operation} == "uninstall" ] ; then param_check "${parameter}" "no package name given" - if [[ "$operation" =~ ^aur:* ]]; then - operation=${operation:4} + if [[ "$parameter" =~ ^aur:* ]]; then + parameter=${parameter:4} fi # uninstall program and remove orphans