summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@imap.cc>2011-12-27 02:53:27 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-27 03:15:21 -0600
commitb970dd1583abc73e2babd06fe56617c1be57f80d (patch)
tree9c6afb9af0a6184355374624fad3808aa228c872
parent20852b1333dbb4e5b62e09305ee5126c6d2a9d84 (diff)
downloadslackbuilds-b970dd1583abc73e2babd06fe56617c1be57f80d.tar.gz
system/laptop-mode-tools: Put udev rules in /lib/udev/rules.d/
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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