diff options
-rwxr-xr-x | parabola-mirror-repos | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parabola-mirror-repos b/parabola-mirror-repos index 399e2d6..b109f1d 100755 --- a/parabola-mirror-repos +++ b/parabola-mirror-repos @@ -36,7 +36,7 @@ log_tmp="$(mktemp -p /var/tmp)" [[ ! ${mail_to} ]] && \ : ${mail_to:=your@mail.com} # set to enable mailing log file, or comment out to disable it : ${date_exclude:=2014.06.19} # disable running this script this date (see next line) -: ${forcerun:=0} # set to 1 to force running on excluded date +: ${force_run:=0} # set to 1 to force running on excluded date : ${terminal:=1} # outputs to stdout using rsync --progress (and logs to a file) : ${alternative_mirror:=0} # use alternative mirror; forces no_snapshot_delete and disables snapshot_symlink_update; synchronized files end up in ${local_dir}.tmp : ${no_snapshot_delete:=0} # disable deletion of oldest snapshots; alternative_mirror enables it forcefully @@ -170,7 +170,7 @@ error() { { -if [[ ${date_exclude} && ${forcerun} != 1 ]] ; then +if [[ ${date_exclude} && ${force_run} != 1 ]] ; then if [[ $date == ${date_exclude} ]] ; then echo "Manually disabled: ${date}. Exiting." exit 0 |