mirror of
https://github.com/YunoHost-Apps/h5ai_ynh.git
synced 2024-09-03 20:36:25 +02:00
Super funky inconsistent tweak with install_dir during upgrade x_x
This commit is contained in:
parent
69bc538752
commit
582e0b7cfa
1 changed files with 0 additions and 23 deletions
|
@ -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)
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue