# HG changeset patch # User Guido Berhoerster # Date 1531220769 -7200 # Node ID d7d2ac4dbac65e2a56809980b930f448411a02a7 # Parent 0bd92ae3d077f731cde52719240574d8df77a358 Add note for vendors on how to override default settings diff -r 0bd92ae3d077 -r d7d2ac4dbac6 README --- 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 diff -r 0bd92ae3d077 -r d7d2ac4dbac6 examples/10_vendor_update_command.gschema.override --- /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'