summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Robby Workman2021-07-16 07:57:58 +0200
committer Willy Sudiarto Raharjo2021-07-17 04:50:25 +0200
commit0574426ec4661a4ee475eff0b94c7832586402f9 (patch)
treebe2ef0347b38386fca7b7be1ea08bc8005e11154 /system
parentc9ac42f52a3a3db84c3efd3612e4fb4227689573 (diff)
downloadslackbuilds-0574426ec4661a4ee475eff0b94c7832586402f9.tar.gz
system/laptop-mode-tools: don't install systemd files
Also, no need to fix udev rules installation any more; it's correct upstream now. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-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