mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Upgrade to 2018.09
This commit is contained in:
parent
614e363d89
commit
ee8afaaa5b
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue