diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 293f48d..b3339c7 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -38,6 +38,11 @@ param_check() { # ----- # always update the system # ----- + +echo "- - - - -" +echo "if no uninstallable packages were found, the following error will be displayed:" +echo "\"error: no targets specified (use -h for help)\"" +echo "- - - - -" pacman -Rns $(pacman -Qtdq) # remove packages that are not needed pacman -Syu # update install packages @@ -189,7 +194,7 @@ fi # ----- if [ ${operation} == "orphans" ] ; then echo "- - - - -" - echo "if no orphans to be removed were found, the following error will be displayed:" + echo "if no removable orphans were found, the following error will be displayed:" echo "\"error: argument '-' specified with empty stdin\"" echo "- - - - -" echo "removing orphans..."