On Nov 14, 2011, at 8:09 PM, Michael Orlitzky wrote:
> On 11/14/11 08:34, Keshav Kini wrote:
>> Will this work for uncompressed SPKGs too?
>>
>
> Not without modification. If you can't rely on the extension to tell you
> what's in the file, you'll have to use something else.
Don't tell anyone that I showed you how to do this but if you change it to
;; Add the "spkg" extension to the list of stuff we want to
;; decompress automatically (with bzip2).
(add-to-list 'jka-compr-compression-info-list
["\\.spkg\\'"
"zipping" "bzip2" ()
"unzipping" "(bzip2 -d || cat)" ()
nil t "BZh"])
it works for me on both zipped and unzipped spkg files.
-Ivan
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org