wok diff pm-utils/receipt @ rev 17526

Add jp2a
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 19 00:23:49 2015 +0100 (2015-01-19)
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	Mon Jan 19 00:23:49 2015 +0100
     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 +}