aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud
diff options
context:
space:
mode:
Diffstat (limited to 'main/owncloud')
-rw-r--r--main/owncloud/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index 91c4fb2ab3..e0aca0132a 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -49,14 +49,14 @@ package() {
mkdir -p "$pkgdir"${_ocwwwdir}
rm -rf config data
mv * "$pkgdir"${_ocwwwdir} || exit
- ln -s $_occonfdir "$pkgdir"${_ocwwwdir}/config || exit 1
+ ln -s $_occonfdir "$pkgdir"${_ocwwwdir}/config || return 1
install -m660 ../owncloud.config.php "$pkgdir"${_occonfdir}/config.php
for dir in \
"$pkgdir"${_occonfdir} \
"$pkgdir"${_ocdatadir} \
"$pkgdir"${_ocappsdir}; do
- chown -R :www-data $dir || exit 1
- chmod 770 $dir || exit 1
+ chown -R :www-data $dir || return 1
+ chmod 770 $dir || return 1
done
}
@@ -85,12 +85,12 @@ plugins() {
arch="noarch"
pkgdesc="ownCloud 3rdparty plugins"
depends="owncloud"
- mkdir -p "$subpkgdir"${_ocwwwdir} || exit 1
+ mkdir -p "$subpkgdir"${_ocwwwdir} || return 1
mv "$pkgdir"${_ocwwwdir}/3rdparty "$subpkgdir"${_ocwwwdir}
}
_mv_app() {
- mkdir -p "$subpkgdir"${_ocappsdir} || exit 1
+ mkdir -p "$subpkgdir"${_ocappsdir} || return 1
mv "$pkgdir"${_ocappsdir}/$1 "$subpkgdir"${_ocappsdir}
}