1
From 8fdedbcf3e046f122eaf0126b2920f9a58b1f317 Mon Sep 17 00:00:00 2001
2
From: Michael Vogt <egon@localhost.localdomain>
3
Date: Tue, 30 Mar 2010 16:07:38 +0200
4
Subject: [PATCH 3/3] * fix argument append to the cmd var
7
tests/dbus-update-apt-xapian-index.py | 1 +
8
update-apt-xapian-index-dbus | 4 ++--
9
2 files changed, 3 insertions(+), 2 deletions(-)
11
diff --git a/tests/dbus-update-apt-xapian-index.py b/tests/dbus-update-apt-xapian-index.py
12
index 413601c..63727c9 100644
13
--- a/tests/dbus-update-apt-xapian-index.py
14
+++ b/tests/dbus-update-apt-xapian-index.py
15
@@ -18,6 +18,7 @@ axi = dbus.Interface(system_bus.get_object("org.debian.AptXapianIndex","/"),
16
"org.debian.AptXapianIndex")
17
axi.connect_to_signal("UpdateFinished", finished)
18
axi.connect_to_signal("UpdateProgress", progress)
20
axi.update_async(True, True)
23
diff --git a/update-apt-xapian-index-dbus b/update-apt-xapian-index-dbus
24
index be90b19..0e1424c 100755
25
--- a/update-apt-xapian-index-dbus
26
+++ b/update-apt-xapian-index-dbus
27
@@ -92,9 +92,9 @@ class AptXapianIndexDBusService(dbus.service.Object):
28
raise PermissionDeniedError, "Permission denied by policy"
29
cmd = ["/usr/sbin/update-apt-xapian-index", "--batch-mode"]
32
+ cmd.append("--force")
35
+ cmd.append("--update")
36
glib.timeout_add(100, self._update_apt_xapian_index, cmd)
38
if __name__ == "__main__":