summaryrefslogtreecommitdiff
path: root/ausbutler-single.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ausbutler-single.sh')
-rwxr-xr-xausbutler-single.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh
index d6d84f8..0954347 100755
--- a/ausbutler-single.sh
+++ b/ausbutler-single.sh
@@ -23,7 +23,12 @@ python jfrteamy-ausbutler/butler.py calculate generate nowait
if command -v lftp &> /dev/null
then
- lftp -f config/send.lftp
+ if [ -z ${LIGA_AUSBUTLER_FTP_ENABLED+x} ]
+ then
+ :
+ else
+ lftp -f config/send.lftp
+ fi
fi
rm config/*