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

Merge pull request #31 from YunoHost-Apps/testing

Update install
This commit is contained in:
Stylix58 2021-06-06 21:55:27 +02:00 committed by GitHub
commit ebca0d1850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,6 @@ ynh_abort_if_errors
app_id=$YNH_APP_ARG_APP_ID app_id=$YNH_APP_ARG_APP_ID
path_url="/in-$app_id-folder" path_url="/in-$app_id-folder"
domain=none.ynh.fr
### 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
@ -57,9 +56,6 @@ final_path=/var/www/$YNH_APP_ARG_APP_ID/www/icecoder
test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have installed a webapp before install this app" test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have installed a webapp before install this app"
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
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#================================================= #=================================================
# STORE SETTINGS FROM MANIFEST # STORE SETTINGS FROM MANIFEST
#================================================= #=================================================