mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
Update install
This commit is contained in:
parent
9ac97734ed
commit
3cbb950504
1 changed files with 3 additions and 12 deletions
|
@ -22,25 +22,16 @@ ynh_abort_if_errors
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
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
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Validating installation parameters..." --weight=1
|
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||||
|
|
||||||
# final_path=/var/www/$app
|
# Register (book) web path
|
||||||
# test ! -e "$final_path" || ynh_die "This path already contains a folder"
|
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
||||||
|
|
||||||
# # Normalize the url path syntax
|
|
||||||
# path_url=$(ynh_normalize_url_path $path_url)
|
|
||||||
|
|
||||||
# # Check web path availability
|
|
||||||
# ynh_webpath_available $domain $path_url
|
|
||||||
# # Register (book) web path
|
|
||||||
# ynh_webpath_register $app $domain $path_url
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# STORE SETTINGS FROM MANIFEST
|
||||||
|
|
Loading…
Add table
Reference in a new issue