summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/laptop-mode-tools/laptop-mode-tools.SlackBuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
index 9dc1c46e7f..71142d428d 100644
--- a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
+++ b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
@@ -67,11 +67,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Put udev rules in /lib/udev/rules.d/ instead of /etc/udev/rules.d/
-sed -i 's|etc/udev|lib/udev|' install.sh
-
-DESTDIR=$PKG INIT_D=$PKG/etc/rc.d MAN_D=/usr/man ./install.sh
-install -d $PKG/var/run/laptop-mode-tools
+DESTDIR=$PKG INIT_D=$PKG/etc/rc.d MAN_D=/usr/man SYSTEMD=no ./install.sh
[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib64