mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/gitlab to 10.0.3-2
This commit is contained in:
parent
e300b7edfe
commit
9e7df6dbf9
1 changed files with 7 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
pkgname=gitlab
|
||||
pkgver=10.0.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Project management and code hosting application"
|
||||
arch=('x86_64')
|
||||
url="https://gitlab.com/gitlab-org/gitlab-ce"
|
||||
|
@ -177,6 +177,12 @@ package() {
|
|||
# Fix for ruby-2.3 and bundle-2.3
|
||||
sed -i "s|bundle|bundle-2.3|g" "${pkgdir}${_datadir}/lib/tasks/gitlab/check.rake"
|
||||
grep -rl "bin/env ruby" "${pkgdir}${_datadir}" | xargs sed -i "s|bin/env ruby$|bin/env ruby-2.3|g"
|
||||
sed -i \
|
||||
-e "s|ruby --version|ruby-2.3 --version|g" \
|
||||
-e "s|gem --version|gem-2.3 --version|g" \
|
||||
-e "s|bundle --version|bundle-2.3 --version|g" \
|
||||
-e "s|rake --version|rake-2.3 --version|g" \
|
||||
"${pkgdir}${_datadir}/lib/tasks/gitlab/info.rake"
|
||||
|
||||
# Install config files
|
||||
for config_file in application.rb gitlab.yml unicorn.rb resque.yml; do
|
||||
|
|
Loading…
Reference in a new issue