wok-4.x rev 734

slitaz-hacker: no backup at the moment
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 03 12:21:06 2008 +0200 (2008-05-03)
parents 2fe94d04fc6f
children 227d295f17c2
files slitaz-hacker/receipt
line diff
     1.1 --- a/slitaz-hacker/receipt	Sat May 03 03:04:18 2008 +0200
     1.2 +++ b/slitaz-hacker/receipt	Sat May 03 12:21:06 2008 +0200
     1.3 @@ -52,22 +52,4 @@
     1.4  			sed -i s/'audio:x:20:'/'audio:x:20:hacker'/ $root/etc/group
     1.5  		fi
     1.6  	fi
     1.7 -	# Backups
     1.8 -	for i in '.ash_history .profile .gtk-bookmarks'
     1.9 -	do
    1.10 -		if [ -f $root/home/hacker/$i ]; then
    1.11 -			cp -a $root/home/hacker/$i $root/home/hacker/$i.bak
    1.12 -		fi
    1.13 -	done
    1.14  }
    1.15 -
    1.16 -# Restore backups
    1.17 -pre_install()
    1.18 -{
    1.19 -	for i in '.ash_history .profile .gtk-bookmarks'
    1.20 -	do
    1.21 -		if [ -f $root/home/hacker/$i.bak ]; then
    1.22 -			cp -a $root/home/hacker/$i.bak $root/home/hacker/$i
    1.23 -		fi
    1.24 -	done
    1.25 -}