diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-16 13:58:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-16 14:10:14 +0000 |
commit | 71c878f0ccd55234f5bc0fc07508aedc112fa1bb (patch) | |
tree | cba1d2299b1b6f6fdff39f45b867fbfed8ee8889 | |
parent | fd6f66ca788471a9446350261d7bd1b48af94388 (diff) | |
download | aports-71c878f0ccd55234f5bc0fc07508aedc112fa1bb.tar.bz2 aports-71c878f0ccd55234f5bc0fc07508aedc112fa1bb.tar.xz |
main/dahdi-linux-grsec: fail if modules not properly installed
-rw-r--r-- | main/dahdi-linux-grsec/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD index bc685c79ba..247826c313 100644 --- a/main/dahdi-linux-grsec/APKBUILD +++ b/main/dahdi-linux-grsec/APKBUILD @@ -16,7 +16,7 @@ _realname=dahdi-linux pkgname=${_realname}-${_flavor} pkgver=$pkgver _dahdiver=2.2.0.2 -_mypkgrel=1 +_mypkgrel=2 pkgrel=$(( $_kpkgrel + $_mypkgrel )) pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" url="http://www.asterisk.org" @@ -54,7 +54,7 @@ build() { package() { cd "$srcdir/$_realname-$_dahdiver" make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ - DESTDIR="$pkgdir" install-modules + DESTDIR="$pkgdir" install-modules || return 1 rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \ "$pkgdir"/usr/include } |