[DRE-commits] [gitlab] 01/01: improve echo wording

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Feb 24 09:16:54 UTC 2017


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

praveen pushed a commit to branch master
in repository gitlab.

commit 1b595121708ba85cb49c28a4a6d806980812ac39
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Feb 24 14:46:32 2017 +0530

    improve echo wording
---
 debian/postrm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/postrm b/debian/postrm
index 14cd9b6..ce08093 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -57,12 +57,12 @@ case "$1" in
         if [ ! -z "${gitlab_user}" ]; then
             # Do only if gitlab_user is set
             if [ -x /usr/bin/dropdb ]; then
-                echo "Removing Database"
+                echo "Removing Database: gitlab_production"
                 su ${gitlab_user} -c 'psql gitlab_production -c ""' && su postgres -c "dropdb gitlab_production"
             else
                 echo "dropdb command not found. Hence not removing database."
            fi
-           echo "Removing ${gitlab_user}"
+           echo "Removing user: ${gitlab_user}"
            id -u ${gitlab_user} && userdel -r ${gitlab_user}
         else
             echo "gitlab_user not set. Hence not removing user."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list