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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jun 11 20:16:44 UTC 2016


    Date: Saturday, June 11, 2016 @ 22:16:44
  Author: svenstaro
Revision: 179690

upgpkg: gitlab-shell 2.7.2-15

Don't put authorized_keys into /etc because it can't be symlink

Modified:
  gitlab-shell/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-11 18:09:19 UTC (rev 179689)
+++ PKGBUILD	2016-06-11 20:16:44 UTC (rev 179690)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=2.7.2
-pkgrel=13
+pkgrel=15
 pkgdesc="Self hosted Git management software. Replacement for gitolite"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/"
@@ -52,17 +52,12 @@
   install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/satellites"
   install -dm700 -o 105 -g 105 "${pkgdir}${_homedir}/.ssh"
   install -dm750 -o 105 -g 105 "${pkgdir}${_etcdir}"
-  install -dm770 -o root -g 105 "${pkgdir}${_logdir}"
+  install -dm770 -o 105 -g 105 "${pkgdir}${_logdir}"
 
   # .gitconfig
   install -Dm644 -o 105 -g 105 "${srcdir}/gitlab-shell.gitconfig" "${pkgdir}${_etcdir}/.gitconfig"
   ln -fs "${_etcdir}/gitconfig" "${pkgdir}${_homedir}/.gitconfig"
 
-  # .ssh/authorized_keys
-  touch "${pkgdir}${_homedir}/.ssh/authorized_keys"
-  chmod 600 "${pkgdir}${_homedir}/.ssh/authorized_keys"
-  ln -fs "${_etcdir}/authorized_keys" "${pkgdir}${_homedir}/.ssh/authorized_keys"
-
   # .gitlab_shell_secret
   touch "${pkgdir}${_etcdir}/secret"
   chmod 640 "${pkgdir}${_etcdir}/secret"



More information about the arch-commits mailing list