slitaz-tools rev 683

tazinst: fix typo in home_config()
author Dominique Corbex <domcox@slitaz.org>
date Thu Feb 23 18:24:42 2012 +0100 (2012-02-23)
parents 647f59e0030e
children b31f2d218039
files installer/tazinst
line diff
     1.1 --- a/installer/tazinst	Wed Feb 22 17:21:08 2012 -0200
     1.2 +++ b/installer/tazinst	Thu Feb 23 18:24:42 2012 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  # few main variables, then all the functions and then the 
     1.5  # full sequence of functions.
     1.6  #
     1.7 -# (C) 2007-2011 SliTaz - GNU General Public License v3.
     1.8 +# (C) 2007-2012 SliTaz - GNU General Public License v3.
     1.9  #
    1.10  # Authors : Christophe Lincoln <pankso@slitaz.org>
    1.11  #           Dominique Corbex <domcox@slitaz.org>
    1.12 @@ -20,7 +20,7 @@
    1.13  # 7: Another instance is running
    1.14  # 8: Internal error
    1.15  
    1.16 -VERSION=3.30
    1.17 +VERSION=3.31
    1.18  
    1.19  # Internationalization
    1.20  . /usr/bin/gettext.sh
    1.21 @@ -758,7 +758,7 @@
    1.22  	cd $TARGET_ROOT || abort 8 $(gettext "Internal")
    1.23  	mv home/$TGT_USER tmp
    1.24  	mount $TGT_HOME home
    1.25 -	if [ -d $TARGET_ROOT/home/$TGTUSER ]; then
    1.26 +	if [ -d $TARGET_ROOT/home/$TGT_USER ]; then
    1.27  		rm -rf tmp/$TGT_USER
    1.28  	else
    1.29  		mv tmp/$TGT_USER home