diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-12-06 12:57:32 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-12-06 12:57:39 +0000 |
commit | a0487e87e4fc36321c248b128d4ec15606a402c7 (patch) | |
tree | 0413592b07cad4686d59a4a94c44d8b46b5c14d1 /main/arpwatch/APKBUILD | |
parent | 7be7bf2ee40b50f2fb1216c2c83eb6085eb50913 (diff) | |
download | aports-a0487e87e4fc36321c248b128d4ec15606a402c7.tar.bz2 aports-a0487e87e4fc36321c248b128d4ec15606a402c7.tar.xz |
main/arpwatch: added return 1 in case pkgdir is not created
Diffstat (limited to 'main/arpwatch/APKBUILD')
-rw-r--r-- | main/arpwatch/APKBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD index 212ec82f15..8b8e786af3 100644 --- a/main/arpwatch/APKBUILD +++ b/main/arpwatch/APKBUILD @@ -69,7 +69,7 @@ package() { cd $_builddir #make install command wouldn't create directory mkdir -p "$pkgdir"/usr/sbin/ - make -j1 DESTDIR="$pkgdir" install + make -j1 DESTDIR="$pkgdir" install || return 1 install -d -o arpwatch "$pkgdir"/var/lib/arpwatch || return 1 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname |