1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Fixed checksum in Upgrad script

This commit is contained in:
anmol 2019-03-12 16:32:06 +05:30
parent cf900ac40f
commit a440fe9d75
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
setup_private=0
setup_public=1
upgrade=1
upgrade=0 from_commit=CommitHash
upgrade=1 from_commit=1c018b9ed379e25d5bcab4bd27e9833feee9da68
backup_restore=1
multi_instance=1
incorrect_path=1
@ -31,4 +31,4 @@
Level 10=0
;;; Options
Email=anmol@datamol.org
Notification=none
Notification=change

View file

@ -131,9 +131,9 @@ ynh_add_fpm_config
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
ynh_backup_if_checksum_is_different "$final_path/local.config.php"
ynh_backup_if_checksum_is_different "$final_path/config/local.config.php"
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum "$final_path/local.config.php"
ynh_store_file_checksum "$final_path/config/local.config.php"
# Set up cron job
ynh_replace_string "__YNH_WWW_PATH__" "$final_path" ../conf/poller-cron