u
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user