1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00

[enh] add standard yunohost stuff

This commit is contained in:
Laurent Peuch 2015-09-27 00:52:48 +02:00
parent fce579e032
commit becd96dd55

View file

@ -0,0 +1,11 @@
set -e
# Retrieve arguments
domain=$1
path=$2
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a noalyss
if [[ ! $? -eq 0 ]]; then
exit 1
fi