diff --git a/bin/restic_backup.sh b/bin/restic_backup.sh index 976f32c..d84d742 100644 --- a/bin/restic_backup.sh +++ b/bin/restic_backup.sh @@ -28,7 +28,7 @@ assert_envvars() { local varnames=("$@") for varname in "${varnames[@]}"; do if [ -z ${!varname+x} ]; then - printf "%s must be set for this script to work.\n\nDid you forget to source a /etc/restic/*.env.sh profile in the current shell before executing this script?\n" "$varname" >&2 + printf "%s must be set for this script to work.\n\nDid you forget to source a $INSTALL_PREFIX/etc/restic/*.env.sh profile in the current shell before executing this script?\n" "$varname" >&2 exit 1 fi done diff --git a/bin/restic_check.sh b/bin/restic_check.sh index 6d72ee9..728e5fd 100644 --- a/bin/restic_check.sh +++ b/bin/restic_check.sh @@ -20,7 +20,7 @@ assert_envvars() { local varnames=("$@") for varname in "${varnames[@]}"; do if [ -z ${!varname+x} ]; then - printf "%s must be set for this script to work.\n\nDid you forget to source a /etc/restic/*.env.sh profile in the current shell before executing this script?\n" "$varname" >&2 + printf "%s must be set for this script to work.\n\nDid you forget to source a $INSTALL_PREFIX/etc/restic/*.env.sh profile in the current shell before executing this script?\n" "$varname" >&2 exit 1 fi done