mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 00:34:29 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
b441452628
commit
f759d6f93c
@ -10,7 +10,7 @@ if [ ! -d "/config/cherokee" ] && [ -d "/usr/local/share/template-files/config/c
|
||||
fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
[ -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"
|
||||
cp -Rf "/usr/local/share/template-files/data/." "/data/"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user