summaryrefslogtreecommitdiff
path: root/ausbutler-single.sh
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-09 02:02:50 +0200
committeremkael <emkael@tlen.pl>2020-10-09 02:02:50 +0200
commitd2e52988cdcbad7ab6c2137317ded337223a91a6 (patch)
treeb07ecfbcc17012faa6fe073ec0d6cbaa159b5263 /ausbutler-single.sh
parent7694964e87cb6688ceb36735dda0087a6d8151b9 (diff)
FTP_ENABLED env variable
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/*