install-ngxblocker / setup-ngxblocker: fix DRY RUN messages

removes --exec from DRY RUN messages as the scripts now use short
command line switches only with getopts.
This commit is contained in:
Stuart Cardall 2017-07-26 15:38:53 +00:00
parent aefe30811a
commit d4eb8f93b9
No known key found for this signature in database
GPG key ID: AEB857F1C891D0C6
2 changed files with 2 additions and 2 deletions

View file

@ -260,7 +260,7 @@ main() {
# by default do not change any files
if [ -z "$DRY_RUN" ]; then
printf "\n** Dry Run ** | -x or --exec to download files\n\n"
printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to install files.\n\n"
else
printf "\n"
fi

View file

@ -311,7 +311,7 @@ main() {
# by default do not change any files
if [ -z "$DRY_RUN" ]; then
printf "\n** Dry Run ** | not updating files | -x or --exec to change files\n\n"
printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n"
else
printf "\n"
fi