1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Update install

This commit is contained in:
frju365 2017-01-29 16:11:38 +01:00 committed by GitHub
parent b47e62bb5a
commit d1e8d3119d

View file

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source /usr/share/yunohost/helpers
source ./_common source ./_common
set -eu set -eu
@ -11,6 +10,9 @@ is_public=$3
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
# Source app helpers
source /usr/share/yunohost/helpers
# Check domain/path availability # Check domain/path availability
sudo yunohost app checkurl "${domain}${path}" -a "$app" \ sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "Path not available: ${domain}${path}" || ynh_die "Path not available: ${domain}${path}"