wok-next diff slitaz-configs-base/receipt @ rev 17042

tramys: oh, I forgot to restore the most important thing ;)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 19 13:33:31 2014 +0000 (2014-08-19)
parents a5925e09274e
children 12d89e81ae33
line diff
     1.1 --- a/slitaz-configs-base/receipt	Mon Aug 18 08:45:31 2014 +0000
     1.2 +++ b/slitaz-configs-base/receipt	Tue Aug 19 13:33:31 2014 +0000
     1.3 @@ -56,8 +56,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	for i in /root $(cd $1/; ls -d home/*); do
     1.8 -		chroot $1/ cp -f /etc/skel/.xinitrc $i
     1.9 +	for i in $(ls -d $1/root $1/home/* 2> /dev/null); do
    1.10 +		[ -d $i ] && cp -f $1/etc/skel/.xinitrc $i
    1.11  	done
    1.12  	echo "Updating ~/.xinitrc ... Done."
    1.13  }