1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00

Update upgrade

This commit is contained in:
yalh76 2019-05-10 00:39:02 +02:00
parent 71a9312166
commit 773dd6ddd2

View file

@ -152,6 +152,16 @@ ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/setti
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/$app/sites/default/settings.php"
#=================================================
# SET THE CRON FILE
#=================================================
ynh_print_info --message="Setting the cron file"
cp -f ../conf/cron /etc/cron.d/$app
ynh_replace_string "__FINALPATH__" "$final_path" /etc/cron.d/$app
ynh_replace_string "__APP__" "$app" /etc/cron.d/$app
#=================================================
# GENERIC FINALIZATION
#=================================================