From b970dd1583abc73e2babd06fe56617c1be57f80d Mon Sep 17 00:00:00 2001 From: Grigorios Bouzakis Date: Tue, 27 Dec 2011 02:53:27 -0600 Subject: [PATCH] system/laptop-mode-tools: Put udev rules in /lib/udev/rules.d/ Signed-off-by: Robby Workman --- system/laptop-mode-tools/laptop-mode-tools.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) 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