diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-02 02:44:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-02 02:44:04 +0200 |
commit | 49715dd00988585cda24178fa9f9d1a3d36bae39 (patch) | |
tree | e94b23000844102f1f5496d14ba7f4329f5fc4c7 | |
parent | caf634542960fea6abb15e674e3f2b5c328157f1 (diff) | |
download | aports-49715dd00988585cda24178fa9f9d1a3d36bae39.tar.bz2 aports-49715dd00988585cda24178fa9f9d1a3d36bae39.tar.xz |
main/nagios-plugins: fix subpackage -all
Fixes https://bugs.alpinelinux.org/issues/7258
-rw-r--r-- | main/nagios-plugins/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index 9af2fce726..b603cdd002 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=nagios-plugins pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Plugins for Nagios to check services on hosts" url="http://nagiosplugins.org" arch="all" @@ -115,7 +115,11 @@ _plugin() { _all() { pkgdesc="Metapackage that installs *all* Nagios plugins from the nagios-plugins package" - depends="${subpackages% all}" + + depends="$pkgname-tcp" + local plugin; for plugin in $_plugins; do + depends="$depends $pkgname-$plugin" + done mkdir -p "$subpkgdir" |