Przeglądaj źródła

fix DestFile ext

Michael Vogt 11 lat temu
rodzic
commit
ed6fa9754d
1 zmienionych plików z 1 dodań i 1 usunięć
  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
    // adjust DestFile if its compressed on disk
    if (_config->FindB("Acquire::GzipIndexes",false) == true)
    if (_config->FindB("Acquire::GzipIndexes",false) == true)
-      DestFile += compExt;
+      DestFile += '.' + compExt;
 
 
    // copy FinalFile into partial/ so that we check the hash again
    // copy FinalFile into partial/ so that we check the hash again
    string FinalFile = GetFinalFilename();
    string FinalFile = GetFinalFilename();