From 24c875030e5431c1499296cef079bd4a2b8befad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 13 Mar 2018 17:10:40 +0100 Subject: [PATCH] debian: don't call dconf if it isn't installed The dconf package isn't required by qubes-core-agent - the package ships a configuration for it, useful if user have it installed for other reasons. Don't try to rebuild dconf database if dconf isn't installed - avoid misleading error message. Fixes QubesOS/qubes-issues#3492 --- debian/qubes-core-agent.postinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/qubes-core-agent.postinst b/debian/qubes-core-agent.postinst index f06b9ba..c571a8f 100755 --- a/debian/qubes-core-agent.postinst +++ b/debian/qubes-core-agent.postinst @@ -179,7 +179,9 @@ case "${1}" in glib-compile-schemas /usr/share/glib-2.0/schemas || true - dconf update || true + if [ -x /usr/bin/dconf ]; then + dconf update + fi # tell dom0 about installed updates (applications, features etc) /etc/qubes-rpc/qubes.PostInstall || true