atop: work around bashism.
This commit is contained in:
parent
abd9792d81
commit
48641ca1d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue