1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/icecoder_ynh.git synced 2024-09-03 19:26:10 +02:00

Update install

This commit is contained in:
Stylix58 2021-03-30 20:54:13 +02:00 committed by GitHub
parent fa58559b6c
commit 9f695b8a5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url=`ynh_app_setting_get -a $YNH_APP_ARG_APP_ID -k path`/icecoder
app_id=$YNH_APP_ARG_APP_ID app_id=$YNH_APP_ARG_APP_ID
path_url=`ynh_app_setting_get -a $YNH_APP_ARG_APP_ID -k path`/icecoder
### If it's a multi-instance app, meaning it can be installed several times independently ### If it's a multi-instance app, meaning it can be installed several times independently
### The id of the app as stated in the manifest is available as $YNH_APP_ID ### The id of the app as stated in the manifest is available as $YNH_APP_ID
@ -58,7 +58,7 @@ test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have inst
test ! -e "$final_path" || ynh_die --message="This path already contains a folder" test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
# 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="In $app_id's 'icecoder' folder"
#================================================= #=================================================
# STORE SETTINGS FROM MANIFEST # STORE SETTINGS FROM MANIFEST