.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-04-02 22:57:08 +02:00
parent 4fd376b328
commit ff01146e9c
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -27,7 +27,6 @@ done
if [[ -f "/etc/nginx/conf.d/${config}.disabled" ]]; then if [[ -f "/etc/nginx/conf.d/${config}.disabled" ]]; then
echo "Enabling config \"${config}\"..." echo "Enabling config \"${config}\"..."
rm ${CONF_DIR}/default.conf
mv ${CONF_DIR}/${config}.disabled ${CONF_DIR}/${config} mv ${CONF_DIR}/${config}.disabled ${CONF_DIR}/${config}
elif [[ -f "/etc/nginx/conf.d/${config}" ]]; then elif [[ -f "/etc/nginx/conf.d/${config}" ]]; then
echo "Config \"${config}\" already enabled!" echo "Config \"${config}\" already enabled!"