summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-19 09:31:34 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-19 09:31:34 +0000
commit2c9b14c1af7398b10de9c43c465fc6f252cbe78e (patch)
tree7e91a20ee811501520c1f257d792ddfb67746a58 /sys-power
parentRemove USE="minimal" and always build cli-frontends since it doesn't save any... (diff)
downloadgentoo-2-2c9b14c1af7398b10de9c43c465fc6f252cbe78e.tar.gz
gentoo-2-2c9b14c1af7398b10de9c43c465fc6f252cbe78e.tar.bz2
gentoo-2-2c9b14c1af7398b10de9c43c465fc6f252cbe78e.zip
Show message about power management guide only when installing package first time wrt bug #440422
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/acpid/ChangeLog7
-rw-r--r--sys-power/acpid/acpid-2.0.16-r1.ebuild14
-rw-r--r--sys-power/acpid/acpid-2.0.17.ebuild14
3 files changed, 22 insertions, 13 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog
index 43638b7ddf51..683da3c5a661 100644
--- a/sys-power/acpid/ChangeLog
+++ b/sys-power/acpid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/acpid
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.95 2012/11/18 13:29:52 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.96 2012/11/19 09:31:34 pinkbyte Exp $
+
+ 19 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> acpid-2.0.16-r1.ebuild,
+ acpid-2.0.17.ebuild:
+ Show message about power management guide only when installing package first
+ time wrt bug #440422
18 Nov 2012; Agostino Sarubbo <ago@gentoo.org> acpid-2.0.17.ebuild:
Stable for x86, wrt bug #434522
diff --git a/sys-power/acpid/acpid-2.0.16-r1.ebuild b/sys-power/acpid/acpid-2.0.16-r1.ebuild
index 984ced53270d..9a4fcd5c0e8a 100644
--- a/sys-power/acpid/acpid-2.0.16-r1.ebuild
+++ b/sys-power/acpid/acpid-2.0.16-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.16-r1.ebuild,v 1.4 2012/07/01 18:37:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.16-r1.ebuild,v 1.5 2012/11/19 09:31:34 pinkbyte Exp $
EAPI=4
inherit systemd
@@ -37,11 +37,13 @@ src_install() {
}
pkg_postinst() {
- elog
- elog "You may wish to read the Gentoo Linux Power Management Guide,"
- elog "which can be found online at:"
- elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
- elog
+ if ! has_version 'sys-power/acpid'; then
+ elog
+ elog "You may wish to read the Gentoo Linux Power Management Guide,"
+ elog "which can be found online at:"
+ elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
+ elog
+ fi
# files/systemd/acpid.socket -> ListenStream=/run/acpid.socket
mkdir -p "${ROOT}"/run
diff --git a/sys-power/acpid/acpid-2.0.17.ebuild b/sys-power/acpid/acpid-2.0.17.ebuild
index 0e2b8295ebf4..d1b0a76a93d7 100644
--- a/sys-power/acpid/acpid-2.0.17.ebuild
+++ b/sys-power/acpid/acpid-2.0.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.17.ebuild,v 1.3 2012/11/18 13:29:52 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.17.ebuild,v 1.4 2012/11/19 09:31:34 pinkbyte Exp $
EAPI=4
inherit systemd
@@ -37,11 +37,13 @@ src_install() {
}
pkg_postinst() {
- elog
- elog "You may wish to read the Gentoo Linux Power Management Guide,"
- elog "which can be found online at:"
- elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
- elog
+ if ! has_version 'sys-power/acpid'; then
+ elog
+ elog "You may wish to read the Gentoo Linux Power Management Guide,"
+ elog "which can be found online at:"
+ elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
+ elog
+ fi
# files/systemd/acpid.socket -> ListenStream=/run/acpid.socket
mkdir -p "${ROOT}"/run