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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Oct 24 02:09:18 UTC 2016


    Date: Monday, October 24, 2016 @ 02:09:17
  Author: svenstaro
Revision: 193127

upgpkg: gitlab-shell 3.6.6-2

Fix permissions

Modified:
  gitlab-shell/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-24 02:08:43 UTC (rev 193126)
+++ PKGBUILD	2016-10-24 02:09:17 UTC (rev 193127)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=3.6.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Self hosted Git management software. Replacement for gitolite"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/"
@@ -26,11 +26,11 @@
 md5sums=('94fd70cb6fd38c8fd7cd9c4ccc371d7e'
          '6b917256b13a1685e9a3cc73e68152d0')
 
-_homedir='/var/lib/gitlab'
 _datadir="/usr/share/webapps/${pkgname}"
+_etcdir="/etc/webapps/${pkgname}"
+_homedir="/var/lib/gitlab"
+_logdir="/var/log/gitlab"
 _srcdir="gitlab-shell-v${pkgver}"
-_logdir='/var/log/gitlab'
-_etcdir="/etc/webapps/${pkgname}"
 
 prepare() {
   cd "${srcdir}/${_srcdir}"-*
@@ -47,7 +47,7 @@
 package() {
   cd "${srcdir}/${_srcdir}"-*
 
-  install -dm755 -o 105 -g 105 "${pkgdir}${_datadir}"
+  install -dm755 -o root -g root "${pkgdir}${_datadir}"
   install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}"
   install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/satellites"
   install -dm700 -o 105 -g 105 "${pkgdir}${_homedir}/.ssh"



More information about the arch-commits mailing list