FIX Mainstream Nginx / Cleanup Signing Keys

This commit is contained in:
Mitchell Krog 2019-06-29 21:10:04 +02:00
parent be92b130b5
commit d873797aba
No known key found for this signature in database
GPG key ID: C243C388553EDE5D

View file

@ -262,6 +262,10 @@ echo "${bold}${magenta}------------------------------"
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/nginx.conf-newformat /etc/nginx/nginx.conf
}
cleanupNginxKeys () {
sudo rm ${TRAVIS_BUILD_DIR}/nginx_signing.key*
}
# -----------------
# Trigger Functions
# -----------------
@ -296,6 +300,7 @@ reloadNginX
waitforReload
backupConfFiles
getnginxversion
cleanupNginxKeys
# ----------------------
# Exit With Error Number