Date: Friday, May 27, 2016 @ 16:56:25
  Author: svenstaro
Revision: 177283

upgpkg: gitlab-shell 2.7.2-13

Explicitly use ruby-2.1 binary names

Modified:
  gitlab-shell/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-05-27 14:32:10 UTC (rev 177282)
+++ PKGBUILD    2016-05-27 14:56:25 UTC (rev 177283)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=2.7.2
-pkgrel=12
+pkgrel=13
 pkgdesc="Self hosted Git management software. Replacement for gitolite"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/";
@@ -80,6 +80,9 @@
 
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+
+  # Fix for ruby-2.1
+  grep -rl "bin/env ruby" "${pkgdir}${_datadir}" | xargs sed -i "s|bin/env 
ruby|bin/env ruby-2.1|g"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to