commit:     3b583e7711b17985f5bb806e8dde62b2490db7fe
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 10:58:11 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 18:55:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b583e77

x11-wm/i3: Use optfeature_header() instead of custom elog

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-wm/i3/i3-4.19-r1.ebuild | 10 ++++------
 x11-wm/i3/i3-4.19.1.ebuild  | 10 ++++------
 x11-wm/i3/i3-9999.ebuild    | 10 ++++------
 3 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/x11-wm/i3/i3-4.19-r1.ebuild b/x11-wm/i3/i3-4.19-r1.ebuild
index 8641db1eba8..3b3b04623bc 100644
--- a/x11-wm/i3/i3-4.19-r1.ebuild
+++ b/x11-wm/i3/i3-4.19-r1.ebuild
@@ -96,10 +96,8 @@ src_test() {
 }
 
 pkg_postinst() {
-       elog "There are several packages that you may find useful with i3 and"
-       elog "their usage is suggested by the upstream maintainers."
-       elog "Uninstalled optional dependencies:"
-       optfeature "Application launcher" x11-misc/dmenu
-       optfeature "Simple screen locker" x11-misc/i3lock
-       optfeature "Status bar generator" x11-misc/i3status
+       optfeature_header "There are several packages that may be useful with 
i3:"
+       optfeature "application launcher" x11-misc/dmenu
+       optfeature "simple screen locker" x11-misc/i3lock
+       optfeature "status bar generator" x11-misc/i3status
 }

diff --git a/x11-wm/i3/i3-4.19.1.ebuild b/x11-wm/i3/i3-4.19.1.ebuild
index e7b4e3a5694..99bd3b7ad0b 100644
--- a/x11-wm/i3/i3-4.19.1.ebuild
+++ b/x11-wm/i3/i3-4.19.1.ebuild
@@ -95,10 +95,8 @@ src_test() {
 }
 
 pkg_postinst() {
-       elog "There are several packages that you may find useful with i3 and"
-       elog "their usage is suggested by the upstream maintainers."
-       elog "Uninstalled optional dependencies:"
-       optfeature "Application launcher" x11-misc/dmenu
-       optfeature "Simple screen locker" x11-misc/i3lock
-       optfeature "Status bar generator" x11-misc/i3status
+       optfeature_header "There are several packages that may be useful with 
i3:"
+       optfeature "application launcher" x11-misc/dmenu
+       optfeature "simple screen locker" x11-misc/i3lock
+       optfeature "status bar generator" x11-misc/i3status
 }

diff --git a/x11-wm/i3/i3-9999.ebuild b/x11-wm/i3/i3-9999.ebuild
index e7b4e3a5694..99bd3b7ad0b 100644
--- a/x11-wm/i3/i3-9999.ebuild
+++ b/x11-wm/i3/i3-9999.ebuild
@@ -95,10 +95,8 @@ src_test() {
 }
 
 pkg_postinst() {
-       elog "There are several packages that you may find useful with i3 and"
-       elog "their usage is suggested by the upstream maintainers."
-       elog "Uninstalled optional dependencies:"
-       optfeature "Application launcher" x11-misc/dmenu
-       optfeature "Simple screen locker" x11-misc/i3lock
-       optfeature "Status bar generator" x11-misc/i3status
+       optfeature_header "There are several packages that may be useful with 
i3:"
+       optfeature "application launcher" x11-misc/dmenu
+       optfeature "simple screen locker" x11-misc/i3lock
+       optfeature "status bar generator" x11-misc/i3status
 }

Reply via email to