wok-next diff remind/receipt @ rev 19012
busybox/fbvnc: wheelmouse support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 28 23:41:02 2016 +0200 (2016-03-28) |
parents | 17c84cd0c81a |
children | 27a62ac947e8 |
line diff
1.1 --- a/remind/receipt Sun Oct 19 12:21:07 2014 +0200 1.2 +++ b/remind/receipt Mon Mar 28 23:41:02 2016 +0200 1.3 @@ -36,16 +36,16 @@ 1.4 post_install() 1.5 { 1.6 # Check for ~/.reminders file - needed for wyrd 1.7 - for i in $(ls $1/home 2> /dev/null); do 1.8 - [ -f $1/home/$i/.reminders ] && continue 1.9 + for i in $(ls "$1/home" 2> /dev/null); do 1.10 + [ -f "$1/home/$i/.reminders" ] && continue 1.11 echo -n "Creating config file for $i ..." 1.12 - touch $1/home/$i/.reminders 1.13 - chroot $1/ chown $(stat -c "%u.%g" $1/home/$i) /home/$i/.reminders 1.14 + touch "$1/home/$i/.reminders" 1.15 + chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders" 1.16 status 1.17 done 1.18 } 1.19 1.20 post_remove() 1.21 { 1.22 - rm -f $1/home/*/.reminders 1.23 + rm -f "$1"/home/*/.reminders 1.24 }