From ee8afaaa5b5aef06cdda04655eb5a6852b149c76 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Tue, 25 Sep 2018 00:48:18 +0530 Subject: [PATCH] Upgrade to 2018.09 --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 81434cc..2a373a5 100644 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ sudo cp ../conf/poller-cron /etc/cron.d/$app #================================================= # Calculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/.htconfig.php" +ynh_store_file_checksum "$final_path/config/local.ini.php" # Run composer (cd $final_path && sudo php bin/composer.phar install) diff --git a/scripts/upgrade b/scripts/upgrade index 7d6462d..b359fde 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,9 +110,9 @@ ynh_add_nginx_config ynh_add_fpm_config # Verify the checksum and backup the file if it's different -ynh_backup_if_checksum_is_different "$final_path/.htconfig.php" +ynh_backup_if_checksum_is_different "$final_path/config/local.ini.php" # Recalculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/.htconfig.php" +ynh_store_file_checksum "$final_path/config/local.ini.php" # Set up poller ynh_replace_string "__YNH_WWW_PATH__" "$final_path" ../conf/poller-cron