diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-06-29 09:37:45 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-06-29 09:38:33 +0000 |
commit | 9c86395b3667c73364113ef842199d77900179af (patch) | |
tree | c6178e8e40c6038bc5f61698f80ad5d1b83c71aa /testing/nextcloud/APKBUILD | |
parent | 4ba2a47de6b6596c297cedfe425f0900ec0adff0 (diff) | |
download | aports-9c86395b3667c73364113ef842199d77900179af.tar.bz2 aports-9c86395b3667c73364113ef842199d77900179af.tar.xz |
testing/nextcloud: set default data directory
Diffstat (limited to 'testing/nextcloud/APKBUILD')
-rw-r--r-- | testing/nextcloud/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/nextcloud/APKBUILD b/testing/nextcloud/APKBUILD index 861000946e..386b520f2e 100644 --- a/testing/nextcloud/APKBUILD +++ b/testing/nextcloud/APKBUILD @@ -58,8 +58,9 @@ package() { mv * "$pkgdir"${_ncwwwdir} || return 1 chmod +x "$pkgdir"${_ncwwwdir}/occ || return 1 ln -s $_ncconfdir "$pkgdir"${_ncwwwdir}/config || return 1 - install -m664 .htaccess "$pkgdir"${_ncwwwdir}/.htaccess - mv "$pkgdir"$_ncwwwdir/apps "$pkgdir"$_ncbasedir || return + install -m664 .htaccess "$pkgdir"${_ncwwwdir}/.htaccess || return 1 + install -m664 ../../${pkgname}-config.php "$pkgdir"/etc/$pkgname/config.php || return 1 + mv "$pkgdir"$_ncwwwdir/apps "$pkgdir"$_ncbasedir || return 1 ln -s $_ncappsdir "$pkgdir"$_ncwwwdir/apps || return 1 for dir in ${_ncconfdir} ${_ncdatadir} ${_ncappsdir}; do chown -R :www-data "$pkgdir"$dir || return 1 |