Este commit está contenido en:
guinux 2017-09-12 18:50:39 +02:00
padre 86713ef0ed
commit 7b34054289
Se han modificado 4 ficheros con 3 adiciones y 1 borrados

Ver fichero

@ -302,7 +302,6 @@ namespace Pamac {
var new_alpm_conf = new HashTable<string,Variant> (str_hash, str_equal);
new_alpm_conf.insert ("IgnorePkg", new Variant.string (ignorepkg_string.str));
transaction.start_write_alpm_config (new_alpm_conf);
}
}

Ver fichero

@ -379,6 +379,7 @@ namespace Pamac {
} catch (Error e) {
stderr.printf ("Error: %s\n", e.message);
}
alpm_config.reload ();
refresh_handle ();
generate_mirrors_list_finished ();
}

Ver fichero

@ -1778,6 +1778,7 @@ namespace Pamac {
}
void on_write_alpm_config_finished (bool checkspace) {
refresh_handle ();
system_daemon.write_alpm_config_finished.disconnect (on_write_alpm_config_finished);
write_alpm_config_finished (checkspace);
}

Ver fichero

@ -117,6 +117,7 @@ namespace Pamac {
}
public void refresh_handle () {
alpm_config.reload ();
alpm_handle = alpm_config.get_handle ();
if (alpm_handle == null) {
return;