summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 70ee7a6..6fe3768 100755
--- a/install.sh
+++ b/install.sh
@@ -5,9 +5,9 @@ DEBUG=false # true
set -e
[ "$DEBUG" == 'true' ] && set -x
-if [ -z "$URL" ]; then echo "URL env variable must be set"; exit 1; fi
+if [ -z "$URL" ]; then echo "Error: URL env variable must be set"; exit 1; fi
if [ -z "$RESPONSIBLE_EMAIL" ];
- then echo "RESPONSIBLE_EMAIL env variable must be set"; exit 1; fi
+ then echo "Error: RESPONSIBLE_EMAIL env variable must be set"; exit 1; fi
echo " * Install dependencies"
@@ -59,7 +59,7 @@ if ! su postgres -c "psql -l" | grep -qs "$DB_NAME"; then
rm /tmp/inst.sql
su postgres -c "createdb --echo --owner $DB_NAME --encoding UNICODE $DB_NAME"
else
- echo " * commonnet database already present"
+ echo "Error: commonnet database already present. Exiting..."
exit 1
fi