For bug #180222, make ecompressdir use -f for the automatic decompression phase.
authorZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 02:05:13 +0000 (02:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 02:05:13 +0000 (02:05 -0000)
svn path=/main/trunk/; revision=6667

bin/ecompressdir

index b45f760d741d28b38838e5f5763374e75709125f..60bc6986b10b8ea7dbbbf23ecf4c446b21c203c7 100755 (executable)
@@ -115,9 +115,9 @@ for dir in "$@" ; do
        find "${dir}" -type f -name '*.ecompress.file' -print0 | ${XARGS} -0 rm -f
 
        # not uncommon for packages to compress doc files themselves
-       funk_up_dir "decompress" ".Z" "gunzip"
-       funk_up_dir "decompress" ".gz" "gunzip"
-       funk_up_dir "decompress" ".bz2" "bunzip2"
+       funk_up_dir "decompress" ".Z" "gunzip -f"
+       funk_up_dir "decompress" ".gz" "gunzip -f"
+       funk_up_dir "decompress" ".bz2" "bunzip2 -f"
 
        # forcibly break all hard links as some compressors whine about it
        find "${dir}" -type f -links +1 -exec env file="{}" sh -c \