summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/laptop-mode-tools/laptop-mode-tools.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
index e0d60affd2..fd5de9e581 100644
--- a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
+++ b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild
@@ -67,6 +67,9 @@ find . \
\( -perm 666 -o -perm 664 -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
[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib64