Update sites.inc
This commit is contained in:
@@ -31,6 +31,11 @@ DELSITE(){
|
|||||||
elif [ -z ${DEL_SSL+x} ]; then
|
elif [ -z ${DEL_SSL+x} ]; then
|
||||||
echo -e -n "${idsCL[LightRed]}Do you also want to delete the certs for '${DEL_SITE}' as well? [y/N]${idsCL[Default]} "
|
echo -e -n "${idsCL[LightRed]}Do you also want to delete the certs for '${DEL_SITE}' as well? [y/N]${idsCL[Default]} "
|
||||||
read DEL_SSL
|
read DEL_SSL
|
||||||
|
if [[ $DEL_SSL =~ ^[Nn]$ ]]; then
|
||||||
|
DEL_SSL=no
|
||||||
|
elif [[ $DEL_SSL =~ ^[Yy]$ ]]; then
|
||||||
|
DEL_SSL=yes
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -z ${DEL_SITE+x} ] && [ "${DEL_SITE}" != "" ]; then
|
if [ ! -z ${DEL_SITE+x} ] && [ "${DEL_SITE}" != "" ]; then
|
||||||
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE^^}${idsCL[LightRed]}'...${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE^^}${idsCL[LightRed]}'...${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user