Skip to content
Snippets Groups Projects
Commit 9b8e88df authored by guinux's avatar guinux
Browse files

fix auto download updates

parent 29c572b4
No related branches found
No related tags found
No related merge requests found
......@@ -840,8 +840,8 @@ namespace Pamac {
private int download_updates () {
downloading_updates = true;
// use a independant handle
var handle = alpm_config.get_handle ();
// use tmp handle
var handle = alpm_config.get_handle (false, true);
handle.fetchcb = (Alpm.FetchCallBack) cb_fetch;
cancellable.reset ();
int success = handle.trans_init (Alpm.TransFlag.DOWNLOADONLY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment