[DRE-commits] [gitlab] 03/06: use id -u

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Feb 20 12:43:51 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 76f03adf074470afd546eb3a0b7f1f1e1e7631c4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Feb 20 18:02:42 2017 +0530

    use id -u
---
 debian/postrm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postrm b/debian/postrm
index 85fadc9..78add48 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -53,7 +53,7 @@ case "$1" in
         rm -rf ${gitlab_log_dir}
         rm -rf ${gitlab_cache_path}
         rm -rf ${gitlab_pid_path}
-        id ${gitlab_user} && userdel -r ${gitlab_user}
+        id -u ${gitlab_user} && userdel -r ${gitlab_user}
         rm -rf ${gitlab_data_dir}
         su postgres -c "dropdb gitlab_production"
       fi

-- 
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