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:
parent
cf900ac40f
commit
a440fe9d75
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue