Browse Source

Merge remote-tracking branch 'qubesos/pr/39'

* qubesos/pr/39:
  Apply gschema override preventing previews in nautilus in Debian
Marek Marczykowski-Górecki 7 years ago
parent
commit
dcbd20f08c
2 changed files with 5 additions and 0 deletions
  1. 2 0
      Makefile
  2. 3 0
      debian/qubes-core-agent.postinst

+ 2 - 0
Makefile

@@ -308,6 +308,8 @@ install-deb: install-common install-systemd install-systemd-dropins
 	install -m 0644 misc/pam.d_su.qubes $(DESTDIR)/etc/pam.d/su.qubes
 	install -d $(DESTDIR)/etc/needrestart/conf.d
 	install -D -m 0644 misc/50_qubes.conf $(DESTDIR)/etc/needrestart/conf.d/50_qubes.conf
+	install -d $(DESTDIR)/usr/share/glib-2.0/schemas/
+	install -m 0644 misc/org.gnome.nautilus.gschema.override $(DESTDIR)/usr/share/glib-2.0/schemas/
 
 
 install-vm: install-rh install-common

+ 3 - 0
debian/qubes-core-agent.postinst

@@ -141,6 +141,9 @@ case "${1}" in
             dpkg-statoverride --update --add user user 775 /var/lib/qubes/dom0-updates
         fi
 
+        /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
+
         # Update Qubes App Menus
         /usr/lib/qubes/qubes-trigger-sync-appmenus.sh || true
         ;;