From 9cad8983883750cfd7b11affb4562f2cb59cfd16 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 30 May 2023 18:46:26 +0200 Subject: [PATCH] =?UTF-8?q?write=20your=20nginxproxymanager=20to=2033102?= =?UTF-8?q?=20port=20in=20~/.zen/=E2=99=A5Box=20file=20(ie=20https://out.d?= =?UTF-8?q?omain.tld=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- G1BILLETS.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/G1BILLETS.sh b/G1BILLETS.sh index 2330af2..6a02ba4 100755 --- a/G1BILLETS.sh +++ b/G1BILLETS.sh @@ -158,8 +158,8 @@ else else HNAME="http://$(hostname -I | awk '{print $1}' | head -n 1)" fi - [[ $isBOX ]] && HNAME="http://$isBOX" RNAME="$HNAME:33102" + [[ $isBOX ]] && RNAME="$isBOX" ## AVAILABLE STYLES : CREATING SELECT sytle=($(find ${MY_PATH}/${IMAGES}/* -type d | sort | rev | cut -d '/' -f 1 | rev)) @@ -383,6 +383,9 @@ Content-Disposition: attachment; filename='${FILE_NAME}' fi + ## EMPTY YESTERDAY TMP FILES + find ${MY_PATH}/tmp -mtime +1 -exec rm -Rf '{}' \; + done ##################################################################### ## loop ###############################################################TITLE="${file%.*}"