From 0f406b6ff09eab9a973f99c6711644a08fd24bfc Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Apr 2019 04:59:41 +0200 Subject: [PATCH] reorder --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 3bfddfc..e832cb3 100755 --- a/scripts/install +++ b/scripts/install @@ -101,13 +101,6 @@ ynh_print_info "Configuring php-fpm..." # Create a dedicated php-fpm config ynh_add_fpm_config -#================================================= -# SET RIGHT PERMISSION FOR APP -#================================================= - -chown -R $app: $final_path -sudo chmod -R 700 $final_path/data - #================================================= # MODIFY A CONFIG FILE #================================================= @@ -138,6 +131,13 @@ ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/sql/admin.sql" # Calculate and store the config file checksum into the app settings ynh_store_file_checksum "$final_path/data/config.ini.php" +#================================================= +# SET RIGHT PERMISSION FOR APP +#================================================= + +chown -R $app: $final_path +sudo chmod -R 700 $final_path/data + #================================================= # SETUP SSOWAT #=================================================