aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-07-09 11:03:30 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-07-09 11:04:06 +0000
commitbb196134705a240c3af4d807b191cb16f54e6dfb (patch)
tree706cf749f2185a966528c2a1ab3a787457b9bbc3 /main/owncloud
parent3f3f2fdd034dd77d718a212551b3208039961e8a (diff)
downloadaports-bb196134705a240c3af4d807b191cb16f54e6dfb.tar.bz2
aports-bb196134705a240c3af4d807b191cb16f54e6dfb.tar.xz
replace exit with return in some packages
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}
}