From 3ab3a56466839371dc26263822b47fc3558a1f90 Mon Sep 17 00:00:00 2001 From: Sven Ullmann Date: Tue, 7 Mar 2023 04:44:03 +0100 Subject: [PATCH] add new data directories fix create-config --- bin/commands/create-project | 2 ++ plugins/db/commands/create-config | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/commands/create-project b/bin/commands/create-project index 0856052..712121e 100644 --- a/bin/commands/create-project +++ b/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/postscripts" ]; then mkdir "$path/bin/postscripts"; 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/plugins" ]; then mkdir "$path/etc/plugins"; fi if [ ! -d "$path/shared" ]; then mkdir "$path/shared"; fi diff --git a/plugins/db/commands/create-config b/plugins/db/commands/create-config index 92e3979..d45e35e 100644 --- a/plugins/db/commands/create-config +++ b/plugins/db/commands/create-config @@ -53,7 +53,6 @@ echo "Local Live Admin User: $db_local_live_admin_user" echo confirm - template_file="$project_manager_dir/plugins/db/etc/.my.cnf_template" path="$project_manager_dir/data/$customer/$project"