CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)
This commit is contained in:
parent
1d98623443
commit
5495a6d975
|
@ -121,7 +121,7 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName,
|
|||
totalSize += cmSystemTools::FileLength(fileIt->c_str());
|
||||
}
|
||||
}
|
||||
out << "Installed-Size: " << totalSize << "\n";
|
||||
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n";
|
||||
out << "Maintainer: " << maintainer << "\n";
|
||||
out << "Description: " << desc << "\n";
|
||||
out << std::endl;
|
||||
|
|
Loading…
Reference in New Issue