[Blends-commit] [SCM] website branch, master, updated. 0b795c35a76e47e8fe8705090e3d965bbab23e93
Steffen Moeller
moeller at debian.org
Sun Feb 11 12:38:07 UTC 2018
The following commit has been merged in the master branch:
commit 0b795c35a76e47e8fe8705090e3d965bbab23e93
Author: Steffen Moeller <moeller at debian.org>
Date: Sat Feb 10 20:08:00 2018 +0100
Typo, checking availability of psql
diff --git a/misc/sql/edam.sh b/misc/sql/edam.sh
index a9a4f9e..faf6d4c 100755
--- a/misc/sql/edam.sh
+++ b/misc/sql/edam.sh
@@ -17,6 +17,11 @@ Description:
EOT
}
+if ! which psql; then
+ echo "E: postgresql client 'psql' not available"
+ exit
+fi
+
PORT="-p 5452"
SERVICE="service=udd"
@@ -27,7 +32,7 @@ fi
# Check UDD connection
if ! psql $PORT $SERVICE -c "" 2>/dev/null ; then
- echo "No local UDD found, use publich mirror."
+ echo "I: No local UDD found, use public mirror."
PORT="--port=5432"
export PGPASSWORD="public-udd-mirror"
SERVICE="--host=public-udd-mirror.xvm.mit.edu --username=public-udd-mirror udd"
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list