mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/openrc: Fixed SlackBuild.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
74396a6531
commit
02ac6cfbba
1 changed files with 1 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue