[arch-commits] Commit in gitlab/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat May 7 15:43:33 UTC 2016
Date: Saturday, May 7, 2016 @ 17:43:32
Author: svenstaro
Revision: 174167
upgpkg: gitlab 8.7.3-3
Fix empty database example and add backups dir
Modified:
gitlab/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-07 15:43:31 UTC (rev 174166)
+++ PKGBUILD 2016-05-07 15:43:32 UTC (rev 174167)
@@ -8,7 +8,7 @@
pkgname=gitlab
pkgver=8.7.3
-pkgrel=2
+pkgrel=3
pkgdesc="Project management and code hosting application"
arch=('i686' 'x86_64')
url="https://gitlab.com/gitlab-org/gitlab-ce/tree/master#README"
@@ -89,16 +89,14 @@
cp config/database.yml.postgresql config/database.yml.postgresql.orig
msg2 "Patching username in database.yml.{mysql,postgresql}..."
- sed -e "s|username: git|username: gitlab|" \
- config/database.yml.mysql > config/database.yml.mysql
- sed -e "s|username: git|username: gitlab|" \
- config/database.yml.postgresql > config/database.yml.postgresql
+ sed -i -e "s|username: git|username: gitlab|" config/database.yml.mysql
+ sed -i -e "s|username: git|username: gitlab|" config/database.yml.postgresql
- msg2 "Pathing redis connection in resque.yml"
+ msg2 "Patching redis connection in resque.yml"
sed -e "s|production: unix:/var/run/redis/redis.sock|production: redis://localhost:6379|" \
config/resque.yml.example > config/resque.yml
- msg2 "setting up systemd service files ..."
+ msg2 "Setting up systemd service files ..."
for service_file in gitlab-sidekiq.service gitlab-unicorn.service gitlab.logrotate gitlab-backup.service gitlab-mailroom.service; do
sed -i "s|<HOMEDIR>|${_homedir}|g" "${srcdir}/${service_file}"
sed -i "s|<DATADIR>|${_datadir}|g" "${srcdir}/${service_file}"
@@ -136,6 +134,7 @@
install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/satellites"
install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/builds"
install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/uploads"
+ install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/backups"
install -dm750 -o 105 -g 105 "${pkgdir}${_etcdir}"
install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
More information about the arch-commits
mailing list