aboutsummaryrefslogtreecommitdiff
path: root/system/laptop-mode-tools
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-07-16 00:57:58 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-17 09:50:25 +0700
commit0574426ec4661a4ee475eff0b94c7832586402f9 (patch)
treebe2ef0347b38386fca7b7be1ea08bc8005e11154 /system/laptop-mode-tools
parentc9ac42f52a3a3db84c3efd3612e4fb4227689573 (diff)
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/laptop-mode-tools')
-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 9dc1c46e7f25..71142d428d0b 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