wok diff pm-utils/receipt @ rev 18513

Separate lib from libboost-dev to libbost-chrono
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 25 00:07:51 2015 +0300 (2015-10-25)
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	Sun Oct 25 00:07:51 2015 +0300
     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 +}