Browse Source

add new data directories fix create-config

master
Sven Ullmann 2 years ago
parent
commit
3ab3a56466
  1. 2
      bin/commands/create-project
  2. 1
      plugins/db/commands/create-config

2
bin/commands/create-project

@ -89,6 +89,8 @@ if [ ! -d "$path/backup/database" ]; then mkdir "$path/backup/database"; fi
if [ ! -d "$path/bin" ]; then mkdir "$path/bin"; fi if [ ! -d "$path/bin" ]; then mkdir "$path/bin"; fi
if [ ! -d "$path/bin/postscripts" ]; then mkdir "$path/bin/postscripts"; fi if [ ! -d "$path/bin/postscripts" ]; then mkdir "$path/bin/postscripts"; fi
if [ ! -d "$path/bin/postscripts/plugins" ]; then mkdir "$path/bin/postscripts/plugins"; fi if [ ! -d "$path/bin/postscripts/plugins" ]; then mkdir "$path/bin/postscripts/plugins"; fi
if [ ! -d "$path/bin/includes" ]; then mkdir "$path/bin/includes"; fi
if [ ! -d "$path/bin/includes/plugins" ]; then mkdir "$path/bin/includes/plugins"; fi
if [ ! -d "$path/etc" ]; then mkdir "$path/etc"; fi if [ ! -d "$path/etc" ]; then mkdir "$path/etc"; fi
if [ ! -d "$path/etc/plugins" ]; then mkdir "$path/etc/plugins"; fi if [ ! -d "$path/etc/plugins" ]; then mkdir "$path/etc/plugins"; fi
if [ ! -d "$path/shared" ]; then mkdir "$path/shared"; fi if [ ! -d "$path/shared" ]; then mkdir "$path/shared"; fi

1
plugins/db/commands/create-config

@ -53,7 +53,6 @@ echo "Local Live Admin User: $db_local_live_admin_user"
echo echo
confirm confirm
template_file="$project_manager_dir/plugins/db/etc/.my.cnf_template" template_file="$project_manager_dir/plugins/db/etc/.my.cnf_template"
path="$project_manager_dir/data/$customer/$project" path="$project_manager_dir/data/$customer/$project"

Loading…
Cancel
Save