[Lunar-commits] r15406 - lunar/trunk/var/lib/lunar/plugins
Terry Chan
tchan at lunar-linux.org
Sat Jun 18 21:39:43 UTC 2005
Author: tchan
Date: 2005-06-18 21:39:42 +0000 (Sat, 18 Jun 2005)
New Revision: 15406
Modified:
lunar/trunk/var/lib/lunar/plugins/unpack-generic.plugin
Log:
Fixed a bug in the assumptions on how source modules are named. NOT all source
code is *.tar.gz, see pwlib and openh323 modules (these are named *-tar.gz).
I changed the unpack code from *.tar.bz2 to *tar.bz2 and similiarly *.tar.gz to
*tar.gz. sofar needs to look at this when he gets back!!!
Modified: lunar/trunk/var/lib/lunar/plugins/unpack-generic.plugin
===================================================================
--- lunar/trunk/var/lib/lunar/plugins/unpack-generic.plugin 2005-06-18 20:07:24 UTC (rev 15405)
+++ lunar/trunk/var/lib/lunar/plugins/unpack-generic.plugin 2005-06-18 21:39:42 UTC (rev 15406)
@@ -13,11 +13,11 @@
plugin_unpack_generic() {
case $1 in
- *.tar.bz2|*.tbz2)
+ *tar.bz2|*tbz2)
debug_msg "Unpacking tar.bz2 file \"$1\""
tar jxf $1 --no-same-owner --no-same-permissions || return 1
;;
- *.tar.gz|*.tgz|*.tar.Z)
+ *tar.gz|*tgz|*tar.Z)
debug_msg "Unpacking tar.gz file \"$1\""
tar zxf $1 --no-same-owner --no-same-permissions || return 1
;;
More information about the Lunar-commits
mailing list