]> git.saurik.com Git - apt.git/commitdiff
fix DestFile ext
authorMichael Vogt <mvo@ubuntu.com>
Mon, 29 Sep 2014 09:26:30 +0000 (11:26 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 29 Sep 2014 09:26:30 +0000 (11:26 +0200)
apt-pkg/acquire-item.cc

index bfa0eb4fc63a5f9d859036c6bbae8f61c2d35124..3d6924847fda25c924f3de97accaeb6065c11109 100644 (file)
@@ -1112,7 +1112,7 @@ void pkgAcqIndex::ReverifyAfterIMS()
 
    // adjust DestFile if its compressed on disk
    if (_config->FindB("Acquire::GzipIndexes",false) == true)
-      DestFile += compExt;
+      DestFile += '.' + compExt;
 
    // copy FinalFile into partial/ so that we check the hash again
    string FinalFile = GetFinalFilename();