tazwok rev 254
Forgottent code: Add jar support, (code from http://hg.slitaz.org/tazwok/rev/a4f84034a69e)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 14:36:10 2011 +0100 (2011-02-12) |
parents | 1e152a1eff13 |
children | 76f08e2e2cf5 |
files | tazwok |
line diff
1.1 --- a/tazwok Sat Feb 12 14:28:03 2011 +0100 1.2 +++ b/tazwok Sat Feb 12 14:36:10 2011 +0100 1.3 @@ -502,6 +502,7 @@ 1.4 *lzma) unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; 1.5 *xz) unxz -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; 1.6 *Z) uncompress -c $SOURCES_REPOSITORY/$TARBALL | tar xf - -C $tmp_src;; 1.7 + *jar) mkdir $src && cp -f $SOURCES_REPOSITORY/$TARBALL $tmp_src ;; 1.8 *) tar xzf $SOURCES_REPOSITORY/$TARBALL -C $tmp_src;; 1.9 esac || return 1 1.10