Simplify
This commit is contained in:
parent
3fe5830e02
commit
c6ca3e5c4b
|
@ -37,9 +37,6 @@ PROJECT_REPO="https://code.freedombone.net/bashrc/${PROJECT_NAME}"
|
|||
|
||||
CURRENT_BRANCH=master
|
||||
|
||||
# clear temporary files
|
||||
rm -rf /tmp/*
|
||||
|
||||
# Is letsencrypt updating its certificates?
|
||||
# If yes then skip the upgrade to avoid any collisions
|
||||
if [ -f ~/temp_renewletsencrypt.txt ]; then
|
||||
|
@ -72,9 +69,8 @@ if [ $DEVELOPMENT_BRANCH ]; then
|
|||
fi
|
||||
|
||||
# upgrading file prevents USB canary or other jobs from activating
|
||||
if [ ! -f /tmp/.upgrading ]; then
|
||||
rm -rf /tmp/*
|
||||
touch /tmp/.upgrading
|
||||
fi
|
||||
|
||||
if [ -f /usr/bin/backupdatabases ]; then
|
||||
if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
|
||||
|
|
Loading…
Reference in New Issue