PKG install hotfix

This commit is contained in:
Elad Ashkenazi 2022-12-24 06:41:53 +02:00 committed by Ivan
parent 98dbbd84ac
commit dd8ec8f09e

View file

@ -913,8 +913,12 @@ bool package_reader::extract_data(atomic_t<double>& sync)
pkg_log.success("Package successfully installed to %s", dir); pkg_log.success("Package successfully installed to %s", dir);
} }
else else
{
if (was_null)
{ {
fs::remove_all(dir, true); fs::remove_all(dir, true);
}
pkg_log.error("Package installation failed: %s", dir); pkg_log.error("Package installation failed: %s", dir);
} }