tazlito rev 340

deduplicate -> reduplicate (needs checking)
author Paul Issott <paul@slitaz.org>
date Sat Feb 22 18:31:04 2014 +0000 (2014-02-22)
parents 980becc97bff
children 8d01282c0093
files tazlito
line diff
     1.1 --- a/tazlito	Sat Feb 22 18:15:48 2014 +0000
     1.2 +++ b/tazlito	Sat Feb 22 18:31:04 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 -  deduplicate	  Deduplicate files in a tree.
     1.8 +  reduplicate	  Reduplicate 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 -# Deduplicate files (MUST be on the same filesystem).
    1.17 -deduplicate()
    1.18 +# Reduplicate files (MUST be on the same filesystem).
    1.19 +reduplicate()
    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 -	deduplicate .
    1.28 +	reduplicate .
    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 -	deduplicate)
    1.37 -		# Deduplicate files in a tree
    1.38 +	reduplicate)
    1.39 +		# Reduplicate files in a tree
    1.40  		shift
    1.41 -		deduplicate "$@" ;;
    1.42 +		reduplicate "$@" ;;
    1.43  	
    1.44  	usage|*)
    1.45  		# Print usage also for all unknown commands.