wok diff pm-utils/receipt @ rev 20446
python-singledispatch: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 20 15:14:50 2018 +0200 (2018-09-20) |
parents | 54a5f5c453da |
children | 6135577f4d08 |
line diff
1.1 --- a/pm-utils/receipt Mon Jan 19 00:23:49 2015 +0100 1.2 +++ b/pm-utils/receipt Thu Sep 20 15:14:50 2018 +0200 1.3 @@ -67,13 +67,13 @@ 1.4 1.5 pre_remove() 1.6 { 1.7 - [ -s $1/etc/slim.conf ] && 1.8 - sed -i 's|.*/usr/sbin/pm-suspend|#&|' $1/etc/slim.conf 1.9 + [ -s "$1/etc/slim.conf" ] && 1.10 + sed -i 's|.*/usr/sbin/pm-suspend|#&|' "$1/etc/slim.conf" 1.11 } 1.12 1.13 post_install() 1.14 { 1.15 - [ -s $1/etc/slim.conf ] && 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 + "$1/etc/slim.conf" 1.20 }