From 582e0b7cfadda4ed589f56db9ce625ee390b504f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Dec 2023 20:59:50 +0100 Subject: [PATCH] Super funky inconsistent tweak with install_dir during upgrade x_x --- scripts/upgrade | 23 ----------------------- 1 file changed, 23 deletions(-) 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) #=================================================