diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-09-04 12:32:07 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-09-04 12:32:23 +0000 |
commit | 96e6ccf9aca66743dc5fab2088be8e6c806c0b66 (patch) | |
tree | 33503ec5e6fc964a3142b32b760f9e169912cc07 /main/owncloud/APKBUILD | |
parent | 2800637751daac567be00cb76eec50ed1d3912e5 (diff) | |
download | aports-96e6ccf9aca66743dc5fab2088be8e6c806c0b66.tar.bz2 aports-96e6ccf9aca66743dc5fab2088be8e6c806c0b66.tar.xz |
main/owncloud: move apps into /var
Diffstat (limited to 'main/owncloud/APKBUILD')
-rw-r--r-- | main/owncloud/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD index 2ca8b5e21..eb7bfbb83 100644 --- a/main/owncloud/APKBUILD +++ b/main/owncloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname="owncloud" pkgver="5.0.10" -pkgrel=0 +pkgrel=1 pkgdesc="Your own WebDAV-based cloud service" url="http://owncloud.org" arch="noarch" @@ -35,9 +35,10 @@ package() { mkdir -p "$pkgdir"/var/lib/owncloud/data mkdir -p "$pkgdir"/usr/share/webapps/owncloud rm -rf config data - mv * "$pkgdir"/usr/share/webapps/owncloud + mv * "$pkgdir"/usr/share/webapps/owncloud || exit ln -s /etc/owncloud "$pkgdir"/usr/share/webapps/owncloud/config || exit 1 - #ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1 + mv "$pkgdir"/usr/share/webapps/owncloud/apps "$pkgdir"/var/lib/owncloud || exit 1 + ln -s /var/lib/owncloud/apps "$pkgdir"/usr/share/webapps/owncloud/apps || exit 1 install -m640 ../owncloud.config.php "$pkgdir"/etc/owncloud/config.php } @@ -68,9 +69,9 @@ plugins() { } _mv_app() { - mkdir -p "$subpkgdir"/usr/share/webapps/owncloud/apps - mv "$pkgdir"/usr/share/webapps/owncloud/apps/files_$1 \ - "$subpkgdir"/usr/share/webapps/owncloud/apps + mkdir -p "$subpkgdir"/var/lib/owncloud/apps + mv "$pkgdir"/var/lib/owncloud/apps/files_$1 \ + "$subpkgdir"/var/lib/owncloud/apps } texteditor() { |