[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD gitlab-shell.install)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed May 4 02:37:37 UTC 2016


    Date: Wednesday, May 4, 2016 @ 04:37:37
  Author: svenstaro
Revision: 173632

upgpkg: gitlab-shell 2.7.2-8

Forgot to change to gitlab user in .install

Modified:
  gitlab-shell/trunk/PKGBUILD
  gitlab-shell/trunk/gitlab-shell.install

----------------------+
 PKGBUILD             |    2 +-
 gitlab-shell.install |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-04 02:27:05 UTC (rev 173631)
+++ PKGBUILD	2016-05-04 02:37:37 UTC (rev 173632)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=2.7.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Self hosted Git management software. Replacement for gitolite"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/"

Modified: gitlab-shell.install
===================================================================
--- gitlab-shell.install	2016-05-04 02:27:05 UTC (rev 173631)
+++ gitlab-shell.install	2016-05-04 02:37:37 UTC (rev 173632)
@@ -1,6 +1,6 @@
 post_install() {
-    getent group git > /dev/null || groupadd -g 105 git 1>/dev/null
-    getent passwd git > /dev/null || useradd -u 105 -d "/var/lib/gitlab" -g git -s "/usr/share/webapps/gitlab-shell/bin/gitlab-shell" git 1>/dev/null
+    getent group gitlab > /dev/null || groupadd -g 105 git 1>/dev/null
+    getent passwd gitlab > /dev/null || useradd -u 105 -d "/var/lib/gitlab" -g git -s "/usr/share/webapps/gitlab-shell/bin/gitlab-shell" git 1>/dev/null
 
     echo "Configure gitlab-shell in /etc/webapps/gitlab-shell/config.yml"
     echo "Put a secret bytestring to /etc/webapps/gitlab-shell/secret"



More information about the arch-commits mailing list