forked from cromer/pamac-classic
really use new mirrorlist when refresh after generate it
This commit is contained in:
parent
afea4d64b4
commit
0c0c78acf4
@ -240,11 +240,12 @@ namespace Pamac {
|
|||||||
while ((line = dis.read_line ()) != null) {
|
while ((line = dis.read_line ()) != null) {
|
||||||
generate_mirrors_list_data (line);
|
generate_mirrors_list_data (line);
|
||||||
}
|
}
|
||||||
generate_mirrors_list_finished ();
|
|
||||||
} catch (Error e) {
|
} catch (Error e) {
|
||||||
generate_mirrors_list_finished ();
|
|
||||||
stderr.printf ("Error: %s\n", e.message);
|
stderr.printf ("Error: %s\n", e.message);
|
||||||
}
|
}
|
||||||
|
alpm_config.reload ();
|
||||||
|
refresh_handle ();
|
||||||
|
generate_mirrors_list_finished ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void start_generate_mirrors_list () {
|
public void start_generate_mirrors_list () {
|
||||||
|
Loading…
Reference in New Issue
Block a user