slitaz-tools rev 540

Changed group tux to group users.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jan 22 21:21:24 2011 +0000 (2011-01-22)
parents b4d7e4763ba1
children f701389ed812
files tinyutils/tazx
line diff
     1.1 --- a/tinyutils/tazx	Sun Jan 16 09:04:14 2011 +0000
     1.2 +++ b/tinyutils/tazx	Sat Jan 22 21:21:24 2011 +0000
     1.3 @@ -196,7 +196,7 @@
     1.4  					mkdir -p /home/$USER/.config/openbox
     1.5  					cp /etc/xdg/openbox/menu.xml /home/$USER/.config/openbox
     1.6  				fi
     1.7 -				chown -R $USER.$USER /home/$USER/.config
     1.8 +				chown -R $USER.users /home/$USER/.config
     1.9  			fi ;;
    1.10  		jwm)
    1.11  			WM=jwm
    1.12 @@ -210,7 +210,7 @@
    1.13  				# scripts.
    1.14  				if [ ! -f "/home/$USER/.jwmrc" ]; then
    1.15  					cp /etc/jwm/system.jwmrc /home/$USER/.jwmrc
    1.16 -					chown $USER.$USER /home/$USER/.jwmrc
    1.17 +					chown $USER.users /home/$USER/.jwmrc
    1.18  				fi
    1.19  				if [ ! -f "/root/.jwmrc" -a `id -u` = 0 ]; then
    1.20  					cp /etc/jwm/system.jwmrc /root/.jwmrc
    1.21 @@ -225,7 +225,7 @@
    1.22  				# In Live mode we want config before starting pekwm the first time.
    1.23  				if [ ! -d "/home/$USER/.pekwm" ]; then
    1.24  					cp -R /etc/pekwm /home/$USER/.pekwm
    1.25 -					chown -R $USER.$USER /home/$USER/.pekwm
    1.26 +					chown -R $USER.users /home/$USER/.pekwm
    1.27  					chmod +x /home/$USER/.pekwm/start
    1.28  				fi
    1.29  				if [ ! -d "/root/.pekwm" -a `id -u` = 0 ]; then
    1.30 @@ -313,11 +313,11 @@
    1.31  		mkdir -p /home/$USER/.config/slitaz
    1.32  		cp /etc/slitaz/applications.conf $CONFIG
    1.33  	fi
    1.34 -	chown -R $USER.$USER /home/$USER/.config/slitaz
    1.35 +	chown -R $USER.users /home/$USER/.config/slitaz
    1.36  	if [ ! -f /home/$USER/.xinitrc ]; then
    1.37  		FILE=/home/$USER/.xinitrc
    1.38  		xinitrc_sample
    1.39 -		chown $USER.$USER $FILE
    1.40 +		chown $USER.users $FILE
    1.41  	fi
    1.42  }
    1.43