[Pkg-ocaml-maint-commits] r1310 - trunk/projects/approx
Eric Cooper
ecc-guest@costa.debian.org
Mon, 25 Apr 2005 14:39:49 +0000
Author: ecc-guest
Date: 2005-04-25 14:39:48 +0000 (Mon, 25 Apr 2005)
New Revision: 1310
Modified:
trunk/projects/approx/package.ml
Log:
force decompress if both Packages and Packages.gz exist (second will be newer)
Modified: trunk/projects/approx/package.ml
===================================================================
--- trunk/projects/approx/package.ml 2005-04-25 13:54:00 UTC (rev 1309)
+++ trunk/projects/approx/package.ml 2005-04-25 14:39:48 UTC (rev 1310)
@@ -47,7 +47,7 @@
let decompressed file =
if Filename.check_suffix file ".gz" then
- let cmd = Printf.sprintf "/bin/gunzip %s" file in
+ let cmd = Printf.sprintf "/bin/gunzip --force %s" file in
if Sys.command cmd <> 0 then failwith "decompress";
Filename.chop_suffix file ".gz"
else