PIFile::readAll release

patch deploy_tool: ignore libc.so and take last dpkg dependency instead of first
This commit is contained in:
2025-09-05 21:46:44 +03:00
parent 91144ad338
commit a299ada873
5 changed files with 26 additions and 41 deletions

View File

@@ -234,7 +234,7 @@ PIString PISystemInfo::machineKey() {
PISystemInfo * si = instance();
PIByteArray salt;
PIString conf = confDir() + "/.pip_machine_salt";
if (PIFile::isExists(conf)) salt = PIFile::readAll(conf, false);
if (PIFile::isExists(conf)) salt = PIFile::readAll(conf);
if (salt.size_s() != SALT_SIZE) {
salt = generateSalt();
PIFile::writeAll(conf, salt);