1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

Flash back to old way to check domain/path availability.

This commit is contained in:
Moul 2015-12-29 22:40:53 +04:00
parent 1dcfd76956
commit 7ad95d01e3

View file

@ -15,8 +15,10 @@ password=$7
#cpu=`expr $7 / 100` #cpu=`expr $7 / 100`
# Check domain/path availability # Check domain/path availability
sudo yunohost app checkurl $domain$path -a $app \ sudo yunohost app checkurl $domain$path -a $app
|| (echo "Path not available: $domain$path" && exit 1) if [[ ! $? -eq 0 ]]; then
exit 1
fi
# Check port availability # Check port availability
sudo yunohost app checkport $port sudo yunohost app checkport $port