# HG changeset patch # User Pascal Bellard # Date 1417778661 -3600 # Node ID ce146f85b6fa0dc6181faf4da517a8265d408d77 # Parent a84d908c453b0d090eb3beb05862d56e0015a8a9 Do not deduplicate empty files, up (5.2.6) diff -r a84d908c453b -r ce146f85b6fa tazlito --- a/tazlito Fri Dec 05 12:23:15 2014 +0100 +++ b/tazlito Fri Dec 05 12:24:21 2014 +0100 @@ -12,7 +12,7 @@ # Authors : Christophe Lincoln # Pascal Bellard # -VERSION=5.2.5 +VERSION=5.2.6 . /lib/libtaz.sh @@ -381,7 +381,7 @@ # Deduplicate files (MUST be on the same filesystem). deduplicate() { - find "${@:-.}" -type f -xdev \ + find "${@:-.}" -type f -size +0c -xdev \ -exec stat -c '%s-%a-%u-%g %i %h %n' {} \; | sort | \ ( save=0; hardlinks=0; old_attr=""; old_inode=""; old_link=""; old_file="" while read attr inode link file; do