[Lunar-commits] CVS: theedge/var/lib/lunar/plugins
unpack-generic.plugin, 1.1, 1.2
Auke Kok
sofar at lunar-linux.org
Fri Mar 25 11:11:27 UTC 2005
Update of /var/cvs/lunar/theedge/var/lib/lunar/plugins
In directory espresso.foo-projects.org:/tmp/cvs-serv12782/var/lib/lunar/plugins
Modified Files:
unpack-generic.plugin
Log Message:
Adding plain tar files too =^)
Index: unpack-generic.plugin
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/plugins/unpack-generic.plugin,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- unpack-generic.plugin 25 Mar 2005 10:47:07 -0000 1.1
+++ unpack-generic.plugin 25 Mar 2005 11:11:24 -0000 1.2
@@ -31,6 +31,10 @@
cp $1 . || return 1
gunzip $1 || return 1
;;
+ *.tar)
+ debug_msg "Unpacking tar file \"$1\""
+ tar xf $1 --no-same-owner --no-same-permissions || return 1
+ ;;
*)
# fallback: we don't know what to do!
return 2
More information about the Lunar-commits
mailing list