From 36555408d6ebbb9bdb4513d314bc3970b1cb6294 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 19 Nov 2021 22:29:52 +0100 Subject: [PATCH] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 42ab634..037954f 100644 --- a/scripts/install +++ b/scripts/install @@ -125,6 +125,9 @@ chmod 644 "/etc/cron.d/$app" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 +# Import DB +ynh_mysql_execute_file_as_root --file="$final_path/database/phplicensewatcher.sql" --database="$db_name" + ynh_add_config --template="../conf/sample-config.php" --destination="$final_path/config.php" chmod 400 "$final_path/config.php"