forked from cromer/pamac-classic
stop the download of .files databases
This commit is contained in:
parent
00f4092ee4
commit
6f15fc63c4
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Pamac\n"
|
"Project-Id-Version: Pamac\n"
|
||||||
"Report-Msgid-Bugs-To: cromer@cromnix.org\n"
|
"Report-Msgid-Bugs-To: cromer@cromnix.org\n"
|
||||||
"POT-Creation-Date: 2017-11-10 22:35-0300\n"
|
"POT-Creation-Date: 2017-11-10 22:57-0300\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -193,7 +193,7 @@ namespace Pamac {
|
|||||||
alpm_handle.totaldlcb = (Alpm.TotalDownloadCallBack) cb_totaldownload;
|
alpm_handle.totaldlcb = (Alpm.TotalDownloadCallBack) cb_totaldownload;
|
||||||
alpm_handle.logcb = (Alpm.LogCallBack) cb_log;
|
alpm_handle.logcb = (Alpm.LogCallBack) cb_log;
|
||||||
lockfile = GLib.File.new_for_path (alpm_handle.lockfile);
|
lockfile = GLib.File.new_for_path (alpm_handle.lockfile);
|
||||||
files_handle = alpm_config.get_handle (true);
|
files_handle = alpm_config.get_handle (false, true);
|
||||||
files_handle.eventcb = (Alpm.EventCallBack) cb_event;
|
files_handle.eventcb = (Alpm.EventCallBack) cb_event;
|
||||||
files_handle.progresscb = (Alpm.ProgressCallBack) cb_progress;
|
files_handle.progresscb = (Alpm.ProgressCallBack) cb_progress;
|
||||||
files_handle.questioncb = (Alpm.QuestionCallBack) cb_question;
|
files_handle.questioncb = (Alpm.QuestionCallBack) cb_question;
|
||||||
|
@ -58,7 +58,7 @@ namespace Pamac {
|
|||||||
if (alpm_handle == null) {
|
if (alpm_handle == null) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
files_handle = alpm_config.get_handle (true);
|
files_handle = alpm_config.get_handle (false, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -804,7 +804,7 @@ namespace Pamac {
|
|||||||
syncdbs.next ();
|
syncdbs.next ();
|
||||||
}
|
}
|
||||||
// refresh file dbs
|
// refresh file dbs
|
||||||
var tmp_files_handle = alpm_config.get_handle (true, true);
|
var tmp_files_handle = alpm_config.get_handle (false, true);
|
||||||
syncdbs = tmp_files_handle.syncdbs;
|
syncdbs = tmp_files_handle.syncdbs;
|
||||||
while (syncdbs != null) {
|
while (syncdbs != null) {
|
||||||
unowned Alpm.DB db = syncdbs.data;
|
unowned Alpm.DB db = syncdbs.data;
|
||||||
|
Loading…
Reference in New Issue
Block a user