wok-current diff remind/receipt @ rev 18914
Add: Tuffy Font Family. Tag: Sans Serif. Public Domain License.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Feb 24 06:16:15 2016 -0300 (2016-02-24) |
parents | 17c84cd0c81a |
children | 27a62ac947e8 |
line diff
1.1 --- a/remind/receipt Sun Oct 19 12:21:07 2014 +0200 1.2 +++ b/remind/receipt Wed Feb 24 06:16:15 2016 -0300 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 }