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
This commit is contained in:
Marek Marczykowski-Górecki 2018-03-13 17:10:40 +01:00
parent 0186d1c8c4
commit 24c875030e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -179,7 +179,9 @@ case "${1}" in
glib-compile-schemas /usr/share/glib-2.0/schemas || true 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) # tell dom0 about installed updates (applications, features etc)
/etc/qubes-rpc/qubes.PostInstall || true /etc/qubes-rpc/qubes.PostInstall || true