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:
parent
8581e4b7c2
commit
032eb74d13
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue