Browse Source

stop the download of .files databases

tags/v6.6.0^2
Chris Cromer 2 years ago
parent
commit
6f15fc63c4
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      po/pamac.pot
  2. +1
    -1
      src/pamac-system-daemon/system_daemon.vala
  3. +2
    -2
      src/pamac-user-daemon/user_daemon.vala

+ 1
- 1
po/pamac.pot View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Pamac\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

+ 1
- 1
src/pamac-system-daemon/system_daemon.vala View File

@@ -193,7 +193,7 @@ namespace Pamac {
alpm_handle.totaldlcb = (Alpm.TotalDownloadCallBack) cb_totaldownload;
alpm_handle.logcb = (Alpm.LogCallBack) cb_log;
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.progresscb = (Alpm.ProgressCallBack) cb_progress;
files_handle.questioncb = (Alpm.QuestionCallBack) cb_question;

+ 2
- 2
src/pamac-user-daemon/user_daemon.vala View File

@@ -58,7 +58,7 @@ namespace Pamac {
if (alpm_handle == null) {
return;
} else {
files_handle = alpm_config.get_handle (true);
files_handle = alpm_config.get_handle (false, true);
}
}

@@ -804,7 +804,7 @@ namespace Pamac {
syncdbs.next ();
}
// 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;
while (syncdbs != null) {
unowned Alpm.DB db = syncdbs.data;

Loading…
Cancel
Save