🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 13:32:17 -04:00
parent b441452628
commit f759d6f93c
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -10,7 +10,7 @@ if [ ! -d "/config/cherokee" ] && [ -d "/usr/local/share/template-files/config/c
fi fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ -d "/data/htdocs" ] || mkdir -p "/data/htdocs" [ -d "/data/htdocs" ] || mkdir -p "/data/htdocs"
if [ -n "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then if [ -z "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then
mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin" mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin"
cp -Rf "/usr/local/share/template-files/data/." "/data/" cp -Rf "/usr/local/share/template-files/data/." "/data/"
fi fi