mirror of
https://github.com/YunoHost-Apps/opennote_ynh.git
synced 2024-09-03 19:46:28 +02:00
fix
This commit is contained in:
parent
6ab3b9c8d4
commit
e3fc54c91a
2 changed files with 1 additions and 1 deletions
0
scripts/_common.sh
Normal file
0
scripts/_common.sh
Normal file
|
@ -28,6 +28,7 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
|
||||
# Retrieve arguments
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
path=$YNH_APP_ARG_PATH
|
||||
admin=$YNH_APP_ARG_ADMIN
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
|
@ -53,7 +54,6 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
|
|||
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
||||
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
|
||||
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||
|| ynh_die "Path not available: ${domain}${path}"
|
||||
|
|
Loading…
Reference in a new issue