Update: domain creator
This commit is contained in:
parent
4febd2d63b
commit
2c43e68445
|
@ -320,6 +320,10 @@ rsync -a "$PWD/$stl_file_pwd_conf" \
|
||||||
mkdir -p "$PWD/articles"
|
mkdir -p "$PWD/articles"
|
||||||
mkdir -p "$PWD/articles/images"
|
mkdir -p "$PWD/articles/images"
|
||||||
mkdir -p "$PWD/articles/files"
|
mkdir -p "$PWD/articles/files"
|
||||||
|
mkdir -p "$domain_srv/wip"
|
||||||
|
mkdir -p "$domain_srv/wip/template"
|
||||||
|
mkdir -p "$domain_srv/wip/files"
|
||||||
|
mkdir -p "$domain_srv/wip/images"
|
||||||
|
|
||||||
# Create conf, according to installation (server, local)
|
# Create conf, according to installation (server, local)
|
||||||
case "$stl_install" in
|
case "$stl_install" in
|
||||||
|
@ -335,26 +339,10 @@ case "$stl_install" in
|
||||||
mkdir -p "$domain_srv/www/template"
|
mkdir -p "$domain_srv/www/template"
|
||||||
mkdir -p "$domain_srv/www/files"
|
mkdir -p "$domain_srv/www/files"
|
||||||
mkdir -p "$domain_srv/www/images"
|
mkdir -p "$domain_srv/www/images"
|
||||||
|
|
||||||
mkdir -p "$domain_srv/wip"
|
|
||||||
mkdir -p "$domain_srv/wip/template"
|
|
||||||
mkdir -p "$domain_srv/wip/files"
|
|
||||||
mkdir -p "$domain_srv/wip/images"
|
|
||||||
|
|
||||||
printf '%s%s\n\n' \
|
|
||||||
"! files template (logo, style.css...) must be put in " \
|
|
||||||
"$domain_srv/wip/template/"
|
|
||||||
;;
|
|
||||||
|
|
||||||
local)
|
|
||||||
mkdir -p "$domain_srv/wip"
|
|
||||||
mkdir -p "$domain_srv/wip/template"
|
|
||||||
mkdir -p "$domain_srv/wip/files"
|
|
||||||
mkdir -p "$domain_srv/wip/images"
|
|
||||||
|
|
||||||
printf '%s%s\n\n' \
|
|
||||||
"! Your logo, styles.css... must be put in " \
|
|
||||||
"$domain_srv/wip/template"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
printf '%s%s\n\n' \
|
||||||
|
"! files template (logo, style.css...) must be put in " \
|
||||||
|
"$domain_srv/wip/template/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue