create cgi-bin dir

This commit is contained in:
Matthew Saunders Brown 2022-04-27 10:18:31 -07:00
parent 959ab99486
commit 939efd4d96

View File

@ -56,6 +56,10 @@ else
exit 1
fi
if [[ ! -d /srv/www/$domain/cgi-bin ]]; then
install --owner=$username --group=$username --mode=755 --directory /srv/www/$domain/cgi-bin
fi
if [[ ! -d /usr/local/lib/cgi-wrap/$domain ]]; then
mkdir -p /usr/local/lib/cgi-wrap/$domain
fi