Skip upgrade if letsencrypt is upgrading its certificates
This commit is contained in:
parent
9a150445e6
commit
83ea67971e
|
@ -40,6 +40,12 @@ 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
|
||||
exit 0
|
||||
fi
|
||||
|
||||
UTILS_FILES="/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*"
|
||||
for f in $UTILS_FILES
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue