diff --git a/scripts/upgrade b/scripts/upgrade index b1d91dc..7142fec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,31 +1,8 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers -#================================================= -# LOAD SETTINGS -#================================================= -ynh_script_progression --message="Loading settings..." --weight=1 - -if [[ "$path" != "/" ]] -then - # We use the path url name (e.g. /documents) instead of h5ai for convenience... - install_dir=/var/www/$path -else - install_dir=/var/www/$app -fi - -#================================================= -# CHECK VERSION -#================================================= - upgrade_type=$(ynh_check_app_version_changed) #=================================================