mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
CPack/DEB: Remove extra newline at the end of .deb control file
It effectively created a control file with two stanzas when package file data is appended, one of which lacks required parameters, making this package impossible to use in a package repository. Fixes: #26975
This commit is contained in:
committed by
Brad King
parent
7dbffb3aa1
commit
865f0032eb
@@ -176,7 +176,7 @@ void DebGenerator::generateControlFile() const
|
||||
totalSize += cmSystemTools::FileLength(file);
|
||||
}
|
||||
}
|
||||
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n\n";
|
||||
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n";
|
||||
}
|
||||
|
||||
bool DebGenerator::generateDataTar() const
|
||||
|
||||
Reference in New Issue
Block a user