system/openrc: Fixed SlackBuild.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Aaditya Bagga 2017-02-20 00:40:52 +05:30 committed by Willy Sudiarto Raharjo
parent 74396a6531
commit 02ac6cfbba

View file

@ -25,7 +25,7 @@
PRGNAM=openrc
VERSION=${VERSION:-0.22.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -90,9 +90,6 @@ make install "${MAKEARGS[@]}" DESTDIR=$PKG
install -m 644 support/sysvinit/inittab "$PKG"/etc/inittab.new
install -Dm 0644 "$CWD/$PRGNAM.logrotate" "$PKG/etc/logrotate.d/${PRGNAM}.new"
# Correct sysctl
sed -e 's|--system|-p|' -i "$PKG/etc/init.d/sysctl"
# Backup rc.conf
mv "$PKG/etc/rc.conf" "$PKG/etc/rc.conf.new"