wok-current rev 17173

~/.xinitrc: undo (permission fix)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Sep 25 19:56:05 2014 +0200 (2014-09-25)
parents af6063279dc1
children 1d9949f99916
files slim/receipt slitaz-configs-base/receipt
line diff
     1.1 --- a/slim/receipt	Thu Sep 25 15:28:17 2014 +0200
     1.2 +++ b/slim/receipt	Thu Sep 25 19:56:05 2014 +0200
     1.3 @@ -53,7 +53,6 @@
     1.4  
     1.5  	# Config file and rc script.
     1.6  	cp -a $stuff/etc $fs
     1.7 -	sed -i 's|session$|& >/tmp/X-output|g' $fs/etc/slim.conf
     1.8  	chown -R root.root $fs
     1.9  
    1.10  	# slim-theme manager & default strings
    1.11 @@ -67,6 +66,7 @@
    1.12  	USER=$(awk -F: '/:1000:1000:/ { print $1 }' < $1/etc/passwd)
    1.13  	[ -n "$USER" ] &&
    1.14  	sed -i s/"default_user .*"/"default_user        $USER"/ $1/etc/slim.conf
    1.15 +	sed -i 's|>/tmp/X-output||' $1/etc/slim.conf
    1.16  
    1.17  	slim-theme -s base
    1.18  }
     2.1 --- a/slitaz-configs-base/receipt	Thu Sep 25 15:28:17 2014 +0200
     2.2 +++ b/slitaz-configs-base/receipt	Thu Sep 25 19:56:05 2014 +0200
     2.3 @@ -56,6 +56,7 @@
     2.4  
     2.5  post_install()
     2.6  {
     2.7 +	sed -i 's|ll.*;W|ll";W|' $1/etc/skel/.xinitrc
     2.8  	for i in $(ls -d $1/root $1/home/* 2> /dev/null); do
     2.9  		[ -d $i ] && cp -f $1/etc/skel/.xinitrc $i
    2.10  	done