zyonet / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

support .tar.xz file #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
some files in the mirror ftp now use .tar.xz format, such as command 'pv'.

please enhance support for support .tar.xz file.

    echo "Unpacking..."
    cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /

====>>>>>>  changed to 

    echo "Unpacking..."
    if [ $file == *.xz ]
    then
      cat $file | xz -d | tar > "/etc/setup/$pkg.lst" xvf - -C /
    else
      cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
    fi

  as e.g. fyi.

Original issue reported on code.google.com by mustangl...@gmail.com on 29 Oct 2013 at 3:44

GoogleCodeExporter commented 8 years ago
i fork the project and fix the problems.
see https://github.com/Simuc/apt-cyg

Original comment by simulati...@gmail.com on 3 Nov 2013 at 8:24

GoogleCodeExporter commented 8 years ago
Fixed in 0.59 (latest trunk), thanks.

Original comment by i...@skl.me on 19 Feb 2014 at 8:40