[DRE-commits] [gitlab] 01/02: proceed if user exist

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jan 15 19:41:39 UTC 2016


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

praveen pushed a commit to branch master-8.4
in repository gitlab.

commit b171ae4b7df7ab54f10e1056eb3cfd27a2f95556
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 16 00:44:31 2016 +0530

    proceed if user exist
---
 debian/adduser.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/adduser.sh b/debian/adduser.sh
index 725bba8..ba78daa 100755
--- a/debian/adduser.sh
+++ b/debian/adduser.sh
@@ -7,7 +7,5 @@ user=gitlab
 echo "Creating/updating $user user account..."
 adduser --home /usr/share/$user --gecos "$user user" --shell /bin/sh \
 	--quiet --disabled-password $user || {
-  # adduser failed. Why?
-  # unknown adduser error, simply exit
-  exit 1
+echo "Proceeding with existing $user 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