changeset 13:d7d2ac4dbac6

Add note for vendors on how to override default settings
author Guido Berhoerster <guido+pui@berhoerster.name>
date Tue, 10 Jul 2018 13:06:09 +0200
parents 0bd92ae3d077
children f783ba95ec4a
files README examples/10_vendor_update_command.gschema.override
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README	Fri Jul 06 14:22:56 2018 +0200
+++ b/README	Tue Jul 10 13:06:09 2018 +0200
@@ -31,6 +31,15 @@
 Makefile for any macros you may need to override depending on the used
 toolchain and operating system.
 
+By default the "update-command" setting is empty which means users will not be
+offered to install updates from a notification or the indicator menu.
+Distribution vendors may override this or any other default setting by
+installing a vendor override file alongside the schema file.  An example for
+is distributed with package-update-indicator, see the file
+"examples/10_vendor_update_command.gschema.override.example".  For details on
+how to install a vendor override file see the manual page for
+glib-compile-schemas.
+
 By default, all files will be installed under the "/usr/local" directory, a
 different installation path prefix can be set via the `prefix` macro.  In
 addition, a second path prefix can be specified via the `DESTDIR` macro which
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/10_vendor_update_command.gschema.override	Tue Jul 10 13:06:09 2018 +0200
@@ -0,0 +1,2 @@
+[org.guido-berhoerster.code.package-update-indicator]
+update-command='/usr/bin/gpk-update-viewer'