This commit is contained in:
2022-07-01 12:44:29 +01:00
parent 9e90c05b2e
commit c7e9e40207
4 changed files with 18 additions and 10 deletions

View File

@ -16,12 +16,14 @@ then
else
if [ -z ${DUFUS+x} ]
then
echo "Created ${BASE}/secrets/.telegramenv"
echo "Please update contents and rerun"
echo "DUFUS="" " > ${BASE}/secrets/.telegramenv
echo "TCHATID="" " >> ${BASE}/secrets/.telegramenv
exit 1
mkdir -p /static/secrets
echo "Created ${BASE}/secrets/.telegramenv"
echo "Please update contents and rerun"
echo "DUFUS="" " > ${BASE}/secrets/.telegramenv
echo "TCHATID="" " >> ${BASE}/secrets/.telegramenv
exit 1
else
mkdir -p /static/secrets
echo "DUFUS=${DUFUS}" > ${BASE}/secrets/.telegramenv
echo "TCHATID=${TCHATID}" > ${BASE}/secrets/.telegramenv
fi