tazlito rev 341

Rollback last commit - Deduplicate IS a proper word
author Paul Issott <paul@slitaz.org>
date Sat Feb 22 18:50:49 2014 +0000 (2014-02-22)
parents 0744badda2ef
children e8d90da7d7d6
files tazlito
line diff
     1.1 --- a/tazlito	Sat Feb 22 18:31:04 2014 +0000
     1.2 +++ b/tazlito	Sat Feb 22 18:50:49 2014 +0000
     1.3 @@ -104,7 +104,7 @@
     1.4    check-distro    Help to check if distro is ready to release.
     1.5    writeiso        Use running system to generate a bootable ISO (with /home).
     1.6    merge           Merge multiple rootfs into one iso.
     1.7 -  reduplicate	  Reduplicate files in a tree.
     1.8 +  deduplicate	  Deduplicate files in a tree.
     1.9    repack          Recompress rootfs into iso with maximum ratio.
    1.10    build-loram     Generate a live-CD for low ram systems.
    1.11    emu-iso         Emulate an ISO image with Qemu.
    1.12 @@ -367,8 +367,8 @@
    1.13  	echo 1 > /tmp/rootfs
    1.14  }
    1.15  
    1.16 -# Reduplicate files (MUST be on the same filesystem).
    1.17 -reduplicate()
    1.18 +# Deduplicate files (MUST be on the same filesystem).
    1.19 +deduplicate()
    1.20  {
    1.21  	find "$@" -type f -size +0c -xdev \
    1.22  		-exec stat -c '%s-%a-%u-%g %i %h %n' {} \; | sort | \
    1.23 @@ -404,7 +404,7 @@
    1.24  	cd $1
    1.25  
    1.26  	# Link duplicate files
    1.27 -	reduplicate .
    1.28 +	deduplicate .
    1.29  
    1.30  	# Use lzma if installed. Display rootfs size in realtime.
    1.31  	rm -f /tmp/rootfs
    1.32 @@ -2563,10 +2563,10 @@
    1.33  		echo -e "qemu $QEMU_OPTS $iso\n"
    1.34  		qemu $QEMU_OPTS $iso ;;
    1.35  
    1.36 -	reduplicate)
    1.37 -		# Reduplicate files in a tree
    1.38 +	deduplicate)
    1.39 +		# Deduplicate files in a tree
    1.40  		shift
    1.41 -		reduplicate "$@" ;;
    1.42 +		deduplicate "$@" ;;
    1.43  	
    1.44  	usage|*)
    1.45  		# Print usage also for all unknown commands.