chiark / gitweb /
Use gzip --rsyncable -7 instead of -1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Jul 2009 16:57:41 +0000 (17:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Jul 2009 16:57:41 +0000 (17:57 +0100)
pctb/dictionary-manager

index d9d3dab..5501765 100755 (executable)
@@ -1073,7 +1073,7 @@ proc remote-serv/take {yesno file dict} {
        set database($key) $val
        write_database
 
-       exec gzip -1 < $fnbase > $fnbase.gz.new
+       exec gzip --rsyncable -7 < $fnbase > $fnbase.gz.new
        exec mv -f -- $fnbase.gz.new $fnbase.gz
 
        set desc approve