This commit is contained in:
parent
4fd376b328
commit
ff01146e9c
@ -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!"
|
||||||
|
Loading…
Reference in New Issue
Block a user