1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

We actually don't really care about the update_type because we might want to *always* rebuild the app.

This commit is contained in:
Salamandar 2024-04-01 00:18:58 +02:00
parent 4180e2fc3b
commit d0b76fc53f

View file

@ -6,11 +6,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STOP SYSTEMD SERVICE
#=================================================
@ -25,11 +20,6 @@ ynh_systemd_action --service_name="$app-machine-learning" --action="stop"
#=================================================
#ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
#=================================================
# APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -57,7 +47,6 @@ then
ynh_script_progression --message="Making install..." --weight=5
ynh_secure_remove --file="$install_dir"
myynh_install_immich
fi
#=================================================
# UPDATE A CONFIG FILE