* [email protected] (Sep 12, 2009 @ 15:31-0500): > The problem I'm having is this. Some packages are *.tar.gz and others > are *.tar.bz2. I thought it would be easy to test for this and then > invoke tar with the appropriate command line parametes, but I can't get > it to work.
I don't know about Ubuntu but some versions of tar can detect the file type automatically so the 'x' or 'z' is not necessary. tar xf $package might just work for you, regardless if it's a .bz2 or .gz. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
