laptop-mode: replaced /sbin/udevadm for /usr/bin/udevadm on hdparm module
This commit is contained in:
parent
2c612025be
commit
7332c8a041
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'laptop-mode'
|
||||
pkgname=laptop-mode
|
||||
version=1.62
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc=$pkgname-tools_$version
|
||||
noarch=yes
|
||||
short_desc="Laptop power saving package for Linux systems"
|
||||
|
@ -28,5 +28,6 @@ do_install()
|
|||
# see /lib -> /usr/lib move
|
||||
sed -i 's|DESTDIR/lib|DESTDIR/usr/lib|g' install.sh
|
||||
sed -i 's|/lib|/usr/lib|g' etc/rules/99-laptop-mode.rules
|
||||
sed -i 's|/sbin/udevadm|/usr/bin/udevadm|g' usr/share/laptop-mode-tools/modules/hdparm
|
||||
$wrksrc/install.sh
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue