Explorar el Código

fix DestFile ext

Michael Vogt hace 12 años
padre
commit
ed6fa9754d
Se han modificado 1 ficheros con 1 adiciones y 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();