diff options
-rwxr-xr-x | portage-update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/portage-update.sh b/portage-update.sh index 9a062b8..0a1c807 100755 --- a/portage-update.sh +++ b/portage-update.sh @@ -5,7 +5,7 @@ # ====== EDIT VARIABLES BELOW HERE ====== -# Portage temporary directory to be passed to "rm -rf", if you would like it cleared afterwards (e.g. "/tmp/portage/*") +# Portage temporary directory to be passed to "rm -r", if you would like it cleared afterwards (e.g. "/tmp/portage/*") PORTAGE_TEMP="/var/tmp/portage/*" # Services that are safe to restart if they have deleted files open (e.g. "apache2 sshd vixie-cron") @@ -73,7 +73,7 @@ eclean-dist --destructive || exit 1 # Clear Portage's temporary directory, as defined above echo 'rm -r '"$PORTAGE_TEMP" #rm -r "$PORTAGE_TEMP" || exit 1 -echo "Would do rm -rf $PORTAGE_TEMP here, do not have the balls yet due to rm -rfing a variable" || exit 1 +echo "Would do rm -r $PORTAGE_TEMP here, do not have the balls yet due to rm -ring a variable" || exit 1 # Print disk space echo 'df -H' |