diff --git a/var/lib/stl/scripts/manage__domain b/var/lib/stl/scripts/manage__domain index a983b2f..1c14ca5 100644 --- a/var/lib/stl/scripts/manage__domain +++ b/var/lib/stl/scripts/manage__domain @@ -320,6 +320,10 @@ rsync -a "$PWD/$stl_file_pwd_conf" \ mkdir -p "$PWD/articles" mkdir -p "$PWD/articles/images" 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) case "$stl_install" in @@ -330,31 +334,15 @@ case "$stl_install" in "domain_dir_www_images=\"$domain_srv/www/images\"" \ "domain_dir_www_files=\"$domain_srv/www/files\"" \ >> "$stl_file_pwd_conf" - + mkdir -p "$domain_srv/www" mkdir -p "$domain_srv/www/template" mkdir -p "$domain_srv/www/files" 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 + +printf '%s%s\n\n' \ + "! files template (logo, style.css...) must be put in " \ + "$domain_srv/wip/template/" }