[DRE-commits] [gitlab] 11/16: use simpler default value for gitlab_user
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Feb 16 12:09:32 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 5e31e3a77923d6623d03f759712b436b22b2021b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Feb 15 18:04:28 2017 +0530
use simpler default value for gitlab_user
---
debian/grantpriv.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/grantpriv.sh b/debian/grantpriv.sh
index 354a44c..63ce624 100755
--- a/debian/grantpriv.sh
+++ b/debian/grantpriv.sh
@@ -4,7 +4,7 @@ set -e
dbname=gitlab_production
# Take gitlab_user from envornment variable or use gitlab
-test -n "${gitlab_user:-}" || gitlab_user="gitlab"
+gitlab_user=${gitlab_user:-gitlab}
# If gitlab user cannot access gitlab_production,
# then it means the gitlab role does not exist
--
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