summaryrefslogtreecommitdiff
path: root/parabola-mirror-repos
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-11-07 13:54:53 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-11-07 13:54:53 -0300
commit42bada6643e5c32beee3fda3b15df08b6c4530cd (patch)
tree5de4dc34a02bced9e55ccb17a5ff35fd269c529d /parabola-mirror-repos
parent570d268eb41a3e2e0b17e9be3d2457e073a1567e (diff)
parabola-mirror-repos: Fix variable name
Diffstat (limited to 'parabola-mirror-repos')
-rwxr-xr-xparabola-mirror-repos4
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