aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-06-14 14:20:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-14 14:20:59 +0000
commit51b7254ef254dbd0f031953ff38aab77302a42f3 (patch)
treee8999f733b98fd9fed8d929df564beb77ea68429 /main
parentd85e1f4b7cb0ea0de2794aa0ad67bae984e504b8 (diff)
downloadaports-51b7254ef254dbd0f031953ff38aab77302a42f3.tar.bz2
aports-51b7254ef254dbd0f031953ff38aab77302a42f3.tar.xz
main/patchwork: copy patchwork.ini rather than symlink it to avoid permission issues
Diffstat (limited to 'main')
-rw-r--r--main/patchwork/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/main/patchwork/APKBUILD b/main/patchwork/APKBUILD
index a185bc849f..0c867a2afa 100644
--- a/main/patchwork/APKBUILD
+++ b/main/patchwork/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=patchwork
pkgver=1.1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Web-based patch tracking system "
url="http://jk.ozlabs.org/projects/patchwork/"
arch="noarch"
@@ -65,9 +65,7 @@ nginx_wsgi() {
install -Dm644 "$srcdir"/nginx-patchwork.conf \
"$subpkgdir"/etc/nginx/conf.d/patchwork.conf || return 1
install -Dm644 "$srcdir"/nginx-uwsgi-patchwork-conf.ini \
- "$subpkgdir"/etc/patchwork/patchwork.ini || return 1
- mkdir -p "$subpkgdir"/etc/uwsgi/conf.d
- ln -sf /etc/patchwork/patchwork.ini "$subpkgdir"/etc/uwsgi/conf.d/patchwork.ini
+ "$subpkgdir"/etc/uwsgi/conf.d/patchwork.ini || return 1
}
mysql() {