From d2e52988cdcbad7ab6c2137317ded337223a91a6 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 9 Oct 2020 02:02:50 +0200 Subject: FTP_ENABLED env variable --- ausbutler-single.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ausbutler-single.sh') 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/* -- cgit v1.2.3