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

source helpers in install script

This commit is contained in:
Taker 2017-07-19 23:16:57 +02:00
parent 8581e4b7c2
commit 032eb74d13

View file

@ -7,6 +7,9 @@ data_dir=$3
current_dir=${PWD} current_dir=${PWD}
debian_version=$(lsb_release -c -s) debian_version=$(lsb_release -c -s)
# Source app helpers
source /usr/share/yunohost/helpers
# Check domain/path availability # Check domain/path availability
sudo yunohost app checkurl $domain$path -a flood sudo yunohost app checkurl $domain$path -a flood
if [[ ! $? -eq 0 ]]; then if [[ ! $? -eq 0 ]]; then