[osm-tile-server] 101/117: Better output

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Nov 3 23:18:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osm-tile-server.

commit bf165ca1cffc4f9af963a7d19040a600487cc6ef
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Fri Oct 30 19:10:06 2015 +0100

    Better output
---
 debian/osm-tile-server-base.postinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/osm-tile-server-base.postinst b/debian/osm-tile-server-base.postinst
index 5c29fef..b3a6f83 100644
--- a/debian/osm-tile-server-base.postinst
+++ b/debian/osm-tile-server-base.postinst
@@ -53,7 +53,7 @@ case "$1" in
         fi
 
 
-        echo -n "Checking if user $DBUSER already exists... "
+        echo -n "Checking if postgres user $DBUSER already exists... "
         set +e
         su postgres -c "cd /var/lib/postgresql ; psql postgres -tAc \"SELECT 1 FROM pg_roles WHERE rolname='$DBUSER'\"" | grep -q 1
         USEREXISTS=$?
@@ -64,7 +64,7 @@ case "$1" in
             echo "NO. Creating user ${DBUSER}..."
             su postgres -c "cd /var/lib/postgresql ; createuser $DBUSER"
         fi
-        echo -n "Checking if database $DBNAME already exists... "
+        echo -n "Checking if postgres database $DBNAME already exists... "
         set +e
         su postgres -c "cd /var/lib/postgresql ; psql postgres -tAc \"SELECT 1 FROM pg_database WHERE datname='$DBNAME'\"" | grep -q 1
         DBEXISTS=$?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git



More information about the Pkg-grass-devel mailing list