atop: work around bashism.

This commit is contained in:
Leah Neukirchen 2017-06-28 14:57:27 +02:00
parent abd9792d81
commit 48641ca1d9
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'atop'
pkgname=atop
version=2.3.0
revision=1
revision=2
build_style=gnu-makefile
makedepends="ncurses-devel zlib-devel"
short_desc="A system and process level monitor"
@ -15,6 +15,7 @@ pre_install() {
sed -i '/chown/d' Makefile
sed -i 's/04711/0755/' Makefile
sed -i 's,sbin,bin,g' Makefile
sed -i 's,bin/sh,bin/bash,' atop.daily
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} sysvinstall