wok-current diff tiptop/receipt @ rev 17797
Add marco
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 20 20:00:59 2015 -0300 (2015-03-20) |
parents | cc6bbcf323fa |
children | 9e01bc6321ea |
line diff
1.1 --- a/tiptop/receipt Sat Oct 11 14:25:56 2014 +0200 1.2 +++ b/tiptop/receipt Fri Mar 20 20:00:59 2015 -0300 1.3 @@ -34,7 +34,7 @@ 1.4 for i in $(ls $1/home 2> /dev/null); do 1.5 [ -f /home/$i/.tiptoprc ] && continue 1.6 cp $1/etc/skel/.tiptoprc $1/home/$i 1.7 - chroot $1/ chown $i.users /home/$i/.tiptoprc 1.8 + chroot $1/ chown $(stat -c "%u.%g" $1/home/$i) /home/$i/.tiptoprc 1.9 done 1.10 } 1.11