aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nagios-plugins/APKBUILD')
-rw-r--r--main/nagios-plugins/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index 12ae6181cc..485d2dc0d2 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -65,15 +65,14 @@ build() {
--with-ps-varlist="procstat,&procpid,&procppid,&procvsz,&procrss,procprog,&pos" \
--with-ps-cols=7 \
--with-ping-command="/bin/ping -c %d %s" \
- --disable-nls \
- || return 1
+ --disable-nls
make all
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
# Remove plugins that are useless or doesn't work on Alpine.
local name; for name in apt flexlm oracle; do
@@ -92,7 +91,7 @@ tcp() {
mkdir -p "$destdir"
local name; for name in tcp $plugins; do
- mv "$pkgdir/$_plugins_dir"/check_$name "$destdir"/ || return 1
+ mv "$pkgdir/$_plugins_dir"/check_$name "$destdir"/
done
}
@@ -103,7 +102,7 @@ _plugin() {
depends="$pkgname $(eval "echo \$depends_$name")"
mkdir -p "$destdir"
- mv "$pkgdir/$_plugins_dir"/check_$name* "$destdir"/ || return 1
+ mv "$pkgdir/$_plugins_dir"/check_$name* "$destdir"/
if file -bi "$destdir"/* | grep -qw text/x-perl; then
depends="$depends perl"