1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

Add new helpers

This commit is contained in:
Rafi59 2017-06-09 14:50:09 +02:00 committed by GitHub
parent 0fc1124441
commit 9247925cb2

View file

@ -3,6 +3,8 @@
# Exit on command errors and treat unset variables as an error
set -eu
app=$YUNOHOST_APP_INSTANCE_NAME
# Retrieve arguments
domain=$YUNOHOST_APP_ARG_DOMAIN
is_public=$YUNOHOST_APP_ARG_IS_PUBLIC
@ -12,7 +14,7 @@ is_public=$YUNOHOST_APP_ARG_IS_PUBLIC
ynh_app_setting_set "$app" is_public "$is_public"
# Source YunoHost helpers
. /usr/share/yunohost/helpers
source /usr/share/yunohost/helpers
# Check domain/path availability
sudo yunohost app checkurl $domain -a "$app" \