tags 418694 + patch
thanks

Patch attached.

This modifies the call to "jigdo-file md5sum", not jigdo-file itself.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad jigdo-0.7.3.orig/scripts/jigdo-mirror 
jigdo-0.7.3/scripts/jigdo-mirror
--- jigdo-0.7.3.orig/scripts/jigdo-mirror       2008-05-14 22:27:37.000000000 
+0100
+++ jigdo-0.7.3/scripts/jigdo-mirror    2008-05-14 22:32:26.000000000 +0100
@@ -143,7 +143,9 @@
     # If possible, check md5sum of template data
     if test "$templateMD5"; then
         set -- `$jigdoFile md5sum --report=quiet "template"`
-        if test "$1" = "$templateMD5"; then
+        if "$jigdoFile" | grep -- "--no-check-files" >/dev/null 2>&1; then
+            log "    [WARNING - Skipping MD5Sum check]"
+        elif test "$1" = "$templateMD5"; then
             log "    Template checksum is correct"
         else
             log "    Error - template checksum mismatch"

Attachment: signature.asc
Description: PGP signature

Reply via email to