diff options
author | emkael <emkael@tlen.pl> | 2020-10-09 02:02:50 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-09 02:02:50 +0200 |
commit | d2e52988cdcbad7ab6c2137317ded337223a91a6 (patch) | |
tree | b07ecfbcc17012faa6fe073ec0d6cbaa159b5263 /ausbutler-single.sh | |
parent | 7694964e87cb6688ceb36735dda0087a6d8151b9 (diff) |
FTP_ENABLED env variable
Diffstat (limited to 'ausbutler-single.sh')
-rwxr-xr-x | ausbutler-single.sh | 7 |
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/* |