# HG changeset patch # User Antoine Bodin # Date 1297517770 -3600 # Node ID f91a9bc05a972177726de4a22c6e0f0b2339a106 # Parent 1e152a1eff1388c019b6ace25324589ab6521354 Forgottent code: Add jar support, (code from http://hg.slitaz.org/tazwok/rev/a4f84034a69e) diff -r 1e152a1eff13 -r f91a9bc05a97 tazwok --- a/tazwok Sat Feb 12 14:28:03 2011 +0100 +++ b/tazwok Sat Feb 12 14:36:10 2011 +0100 @@ -502,6 +502,7 @@ *lzma) unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; *xz) unxz -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; *Z) uncompress -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; + *jar) mkdir $src && cp -f $SOURCES_REPOSITORY/$TARBALL $tmp_src ;; *) tar xzf $SOURCES_REPOSITORY/$TARBALL -C $tmp_src;; esac || return 1