wok-next diff pm-utils/receipt @ rev 19153
udisks2: mount to "/media/", Up slitaz-tools*(978)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon May 23 23:30:37 2016 +0300 (2016-05-23) |
parents | 54a5f5c453da |
children | 757d032c55c7 |
line diff
1.1 --- a/pm-utils/receipt Mon Jan 19 00:23:49 2015 +0100 1.2 +++ b/pm-utils/receipt Mon May 23 23:30:37 2016 +0300 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 }