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:
parent
0186d1c8c4
commit
24c875030e
4
debian/qubes-core-agent.postinst
vendored
4
debian/qubes-core-agent.postinst
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user