Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support .tar.xz file #32

Closed
GoogleCodeExporter opened this issue Feb 18, 2016 · 2 comments
Closed

support .tar.xz file #32

GoogleCodeExporter opened this issue Feb 18, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

Fixed in 0.59 (latest trunk), thanks.

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

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant