From f649935aa00d440ee99517a780da05cfbbb9a114 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Fri, 4 Apr 2014 01:00:50 +0200 Subject: [PATCH] fix #3 --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 6c7e996..ff88689 100644 --- a/scripts/install +++ b/scripts/install @@ -7,11 +7,13 @@ path=$2 # Check domain/path availability sudo yunohost app checkurl $domain$path -a agendav if [[ ! $? -eq 0 ]]; then + echo "Error : $domain$path is not available" exit 1 fi sudo yunohost app list | python ../conf/list_installed_apps.py | grep radicale if [[ ! $? -eq 0 ]]; then + echo "Error : Radicale app is not installed" exit 1 fi