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

Update install

This commit is contained in:
ericgaspar 2020-12-03 09:31:53 +01:00
parent 036871daef
commit efbcabaddb
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -25,6 +25,11 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
ynh_script_progression --message="Validating installation parameters..." --weight=1
if [[ "$path_url" != "/" ]] if [[ "$path_url" != "/" ]]
then then
# We use the path url name (e.g. /documents) instead of h5ai for convenience... # We use the path url name (e.g. /documents) instead of h5ai for convenience...
@ -33,11 +38,6 @@ else
final_path=/var/www/$app final_path=/var/www/$app
fi fi
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
ynh_script_progression --message="Validating installation parameters..." --weight=1
# Register (book) web path # Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url