Commit 7d8fac2b authored by guinux's avatar guinux

fix #480

parent 250cad77
......@@ -478,7 +478,9 @@ namespace Pamac {
alpm_utils.to_load = to_load;
alpm_utils.to_build = to_build;
alpm_utils.overwrite_files = overwrite_files;
alpm_utils.sysupgrade = true;
if (alpm_utils.to_install.length > 0) {
alpm_utils.sysupgrade = true;
}
if (alpm_utils.downloading_updates) {
alpm_utils.cancellable.cancel ();
// let time to cancel download updates
......
......@@ -229,7 +229,9 @@ namespace Pamac {
alpm_utils.to_load = to_load;
alpm_utils.to_build = to_build;
alpm_utils.overwrite_files = overwrite_files;
alpm_utils.sysupgrade = true;
if (alpm_utils.to_install.length > 0) {
alpm_utils.sysupgrade = true;
}
if (alpm_utils.downloading_updates) {
alpm_utils.cancellable.cancel ();
// let time to cancel download updates
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment