[mate-power-manager] 02/04: debian/rules: Override mate-power-manager defaults on Ubuntu. Ubuntu MATE enables indicators by default which include indicator-power, these overrides ensure indicator-power integrates with mate-power-manager.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Sun Jan 21 12:17:11 UTC 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository mate-power-manager.

commit d0cbb8fb57716b6be89eddef6d3c0d4767f4e0c3
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Sat Jan 20 12:47:52 2018 +0000

    debian/rules: Override mate-power-manager defaults on Ubuntu. Ubuntu MATE enables indicators by default which include indicator-power, these overrides ensure indicator-power integrates with mate-power-manager.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5b73423..bfb7d10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ override_dh_missing:
 
 override_dh_install:
 	dh_install
+	# Override some mate-power-manager default because Ubuntu MATE has
+	# indicator-power enabled by default.
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
+	dh_install -pmate-power-manager-common debian/25_mate-power-manager-ubuntu.gschema.override /usr/share/glib-2.0/schemas/
+endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-power-manager.git



More information about the pkg-mate-commits mailing list