system/laptop-mode-tools: Put udev rules in /lib/udev/rules.d/

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Grigorios Bouzakis 2011-12-27 02:53:27 -06:00 committed by Robby Workman
parent 20852b1333
commit b970dd1583

View file

@ -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