aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/redmine/APKBUILD4
-rw-r--r--main/redmine/redmine.pre-install4
2 files changed, 6 insertions, 2 deletions
diff --git a/main/redmine/APKBUILD b/main/redmine/APKBUILD
index ffe39c3b76..bd8877f3cc 100644
--- a/main/redmine/APKBUILD
+++ b/main/redmine/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=redmine
pkgver=2.1.2
-pkgrel=2
+pkgrel=3
pkgdesc="Project management web application written in Ruby"
url="http://redmine.org"
arch="noarch"
@@ -12,7 +12,7 @@ depends="ruby-rails ruby-rmagick ruby-i18n ruby-openid ruby-rack
ruby-net-ldap ruby-rack-openid ruby-bigdecimal ruby-unicorn"
depends_dev=
makedepends="$depends_dev ruby-gems"
-install=""
+install="$pkgname.pre-install"
subpackages=""
pkgusers="$pkgname"
pkggroups="$pkgname"
diff --git a/main/redmine/redmine.pre-install b/main/redmine/redmine.pre-install
new file mode 100644
index 0000000000..4cb620dbc7
--- /dev/null
+++ b/main/redmine/redmine.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -S -h /usr/share/webapps/redmine -s /bin/false -D redmine 2>/dev/null
+exit 0