wok-next diff remind/receipt @ rev 18892

remove: tazpanel-ttf-css, tazpanel-theme-sandfive(in wok-backports)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Feb 12 20:27:04 2016 +0000 (2016-02-12)
parents 17c84cd0c81a
children 27a62ac947e8
line diff
     1.1 --- a/remind/receipt	Sun Oct 19 12:21:07 2014 +0200
     1.2 +++ b/remind/receipt	Fri Feb 12 20:27:04 2016 +0000
     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  }