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:
parent
fce579e032
commit
becd96dd55
1 changed files with 11 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue