1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/agendav_ynh.git synced 2024-09-03 20:36:12 +02:00
This commit is contained in:
ericgaspar 2023-10-01 11:05:27 +02:00
parent a17b849df8
commit 5ad51ab531
2 changed files with 2 additions and 10 deletions

View file

@ -72,7 +72,7 @@ ynh_add_config --template="../conf/settings.php" --destination="${install_dir}/w
#================================================= #=================================================
# RUN DATABASE MIGRATIONS (INCLUDES INITIALIZATION) # RUN DATABASE MIGRATIONS (INCLUDES INITIALIZATION)
#================================================= #=================================================
ynh_script_progression --message="Initialising AgenDAV..." --weight=3 ynh_script_progression --message="Initialising $app..." --weight=3
( (
cd "$install_dir" || ynh_die cd "$install_dir" || ynh_die

View file

@ -12,17 +12,9 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# CHECK VERSION # CHECK VERSION
#================================================= #=================================================
ynh_script_progression --message="Checking version..." --weight=1
upgrade_type=$(ynh_check_app_version_changed) upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
#================================================= #=================================================
# GET THE CALDAV APP # GET THE CALDAV APP
#================================================= #=================================================
@ -84,7 +76,7 @@ ynh_add_config --template="../conf/settings.php" --destination="${install_dir}/w
#================================================= #=================================================
# RUN DATABASE MIGRATIONS (INCLUDES INITIALIZATION) # RUN DATABASE MIGRATIONS (INCLUDES INITIALIZATION)
#================================================= #=================================================
ynh_script_progression --message="Upgrading AgenDAV..." --weight=1 ynh_script_progression --message="Upgrading $app..." --weight=1
( (
cd "$install_dir" || ynh_die cd "$install_dir" || ynh_die