diff --git a/dots/bin/nwgp.sh b/dots/bin/nwgp.sh index 672b9c3..a45de47 100755 --- a/dots/bin/nwgp.sh +++ b/dots/bin/nwgp.sh @@ -67,9 +67,9 @@ backupDeploy() { fi - elif [[ "${operation}" == "deploy" ]]; then + elif [[ "${operation}" == "restore" ]]; then - echo "deploying config files and restarting nwg-panel..." + echo "restoring config files (copy from repo) and restarting nwg-panel..." cp -v -r ${repo_dir}/* ${nwgp_dir} pkill nwg-panel > /dev/null 2>&1 @@ -92,8 +92,8 @@ backupDeploy() { this_file_name=`basename "$0"` if [ $# -lt 1 ]; then - echo "error: operation {backup|deploy|restart} is missing." - echo "usage: '$this_file_name {backup|deploy|restart}'" + echo "error: operation {backup|restore|restart} is missing." + echo "usage: '$this_file_name {backup|restore|restart}'" exit 1 fi