CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)

This commit is contained in:
Eric NOULARD 2010-07-28 17:03:14 +02:00
parent 1d98623443
commit 5495a6d975
1 changed files with 1 additions and 1 deletions

View File

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