tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc/mk/extract/extract



Hi,

I attached wrong diff- format...

Here the better one...

Greetings,
Helge

-- 
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 fÃr nur 19,99 Euro/mtl.!* 
http://portal.gmx.net/de/go/dsl
--- extract.bak 2010-09-04 11:01:53.000000000 +0200
+++ extract     2010-09-04 11:03:14.000000000 +0200
@@ -179,7 +179,7 @@ esac
 
 # Derive the compression format of the archive based on the file extension.
 case "$distfile" in
-*.gz|*.tgz|*.z)                        _cformat=gzip ;;
+*.gz|*.tgz|*.gtgz|*.z)                 _cformat=gzip ;;
 *.bz2|*.tbz|*.tbz2|*.bz)       _cformat=bzip ;;
 *.lzma)                                _cformat=lzma ;;
 *.xz)                          _cformat=xz ;;
@@ -202,7 +202,7 @@ esac
 
 # Derive the format of the archive based on the file extension.
 case "$distfile" in
-*.tar.gz|*.tgz|*-tar.gz|*_tar.gz|*.tar.bz2|*.tbz|*.tbz2|*.tar.lzma|*.tar.xz|*.tar.Z|*.tar.z|*.tar|*.tar.bz)
+*.tar.gz|*.tgz|*-tar.gz|*_tar.gz|*.tar.bz2|*.tbz|*.tbz2|*.tar.lzma|*.tar.xz|*.tar.Z|*.tar.z|*.tar|*.tar.bz|*.gtgz)
                _format=tar ;;
 *.cpio|*.cpio.gz|*.cpio.bz2)
                _format=cpio ;;


Home | Main Index | Thread Index | Old Index