wok-next diff pm-utils/receipt @ rev 18188
tokyocabinet: add --enable-off64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 08 12:20:47 2015 +0200 (2015-07-08) |
parents | 51a1ebbda768 |
children | 9e01bc6321ea |
line diff
1.1 --- a/pm-utils/receipt Fri Oct 18 19:43:55 2013 +0000 1.2 +++ b/pm-utils/receipt Wed Jul 08 12:20:47 2015 +0200 1.3 @@ -64,3 +64,16 @@ 1.4 cp -a $stuff/video-quirks $fs/usr/lib/pm-utils 1.5 status 1.6 } 1.7 + 1.8 +pre_remove() 1.9 +{ 1.10 + [ -s $1/etc/slim.conf ] && 1.11 + sed -i 's|.*/usr/sbin/pm-suspend|#&|' $1/etc/slim.conf 1.12 +} 1.13 + 1.14 +post_install() 1.15 +{ 1.16 + [ -s $1/etc/slim.conf ] && 1.17 + sed -i 's|^#suspend_cmd.*|suspend_cmd /usr/sbin/pm-suspend|' \ 1.18 + $1/etc/slim.conf 1.19 +}