projects/package-update-indicator

changeset 13:d7d2ac4dbac6

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