Explorar o código

fix DestFile ext

Michael Vogt %!s(int64=12) %!d(string=hai) anos
pai
achega
ed6fa9754d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apt-pkg/acquire-item.cc

+ 1 - 1
apt-pkg/acquire-item.cc

@@ -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();