diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-02-03 10:26:08 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-02-03 10:26:17 +0100 |
commit | f9814abd425818582c8994c76d177a64fe413511 (patch) | |
tree | e635b46b5f5ffe9c13a69707fcedb6d2d8457bf9 /testing | |
parent | 1d5ad75dd4203a76d195c1ec00235d752d13c06c (diff) | |
download | aports-f9814abd425818582c8994c76d177a64fe413511.tar.bz2 aports-f9814abd425818582c8994c76d177a64fe413511.tar.xz |
testing/gitea: fix previous mess
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gitea/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/gitea/APKBUILD b/testing/gitea/APKBUILD index 14cd3226bd..daa912db35 100644 --- a/testing/gitea/APKBUILD +++ b/testing/gitea/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: 7heo <7heo@mail.com> pkgname=gitea pkgver=1.0.1 -pkgrel=3 +pkgrel=4 pkgdesc="A self-hosted Git service written in Go" url="http://gitea.io/" arch="all" @@ -43,12 +43,12 @@ package() { # TODO: Is it really necessary to be world-readable?! install -d -m 0755 -o gitea -g www-data \ "$pkgdir"/var/lib/$pkgname \ + "$pkgdir"/var/lib/$pkgname/conf \ "$pkgdir"/var/lib/$pkgname/git \ "$pkgdir"/var/lib/$pkgname/db \ "$pkgdir"/var/lib/$pkgname/avatars \ "$pkgdir"/var/lib/$pkgname/attachements \ "$pkgdir"/var/cache/$pkgname/sessions \ - "$pkgdir"/var/cache/$pkgname/conf \ "$pkgdir"/var/log/$pkgname \ "$pkgdir"/etc/$pkgname/conf || return 1 @@ -61,8 +61,8 @@ package() { install -D -m 0664 -o gitea -g www-data "$srcdir"/${pkgname}.ini \ "$pkgdir"/etc/$pkgname/conf/app.ini || return 1 - mv options/* "$pkgdir"/var/cache/$pkgname/conf || return 1 - chown gitea:www-data -R "$pkgdir"/etc/$pkgname/conf || return 1 + mv options/* "$pkgdir"/var/lib/$pkgname/conf || return 1 + chown gitea:www-data -R "$pkgdir"/var/lib/$pkgname/conf || return 1 mv public templates "$pkgdir"/usr/share/webapps/$pkgname/ || return 1 |