On Mon, Sep 01, 2008 at 03:53:34PM +1000, Trent W. Buck wrote:
> Crawl should Depends: zip in debian/control to avoid this message
> when quitting:
>
>     Warning: Zip command (SAVE_PACKAGE_CMD) returnednon-zero value!

Actually, it should be a Recommends.  There are four scenarios:

 1. zip and unzip are installed.  Save are silently archived.

 2. neither are installed.  A warning is emitted, and saves are stored
    uncompressed.

 3. unzip is installed, but zip isn't.  Same as (2).

 3. zip is installed, but unzip isn't.  I think (untested) that in
    this scenario, you can save games (silently compressing), but
    never load a save.

> It may be possible to alternatively change SAVE_PACKAGE_CMD and the
> equivalent unpack to use tar -zcf.  As tar and gzip are Essential:
> yes packages, they do not need to be listed in Depends.

This is the case.  Through a lot of trial and error, I have determined
the following works.  I recommend applying this patch, because tar and
gzip (unlike zip) are "essential" parts of the system, and packages do
not need to explicitly depend on them.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to