check for and remove cgi-wrap dir

This commit is contained in:
Matthew Saunders Brown 2025-03-04 11:02:40 -08:00
parent 6046476e79
commit 1486e9efd4

View File

@ -83,6 +83,11 @@ if [[ -d /srv/www/$domain ]]; then
rm -r /srv/www/$domain rm -r /srv/www/$domain
fi fi
# remove cgi-wrapper
if [[ -d /usr/local/lib/cgi-wrap/$domain ]]
rm -r /usr/local/lib/cgi-wrap/$domain
fi
# remove webalizer stats # remove webalizer stats
if [[ -d /var/lib/webalizer/$domain ]]; then if [[ -d /var/lib/webalizer/$domain ]]; then
rm -r /var/lib/webalizer/$domain rm -r /var/lib/webalizer/$domain