commit:     803dde4216097ee1b2688d6816bfcfe61f85701a
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu May  9 13:42:18 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu May  9 13:43:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=803dde42

gui-apps/eww: move elog messages to pkg_postinst

Suggested-by: Mazunki Hoksaas <rolferen <AT> gmail.com>
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 gui-apps/eww/eww-0.5.0-r4.ebuild | 3 +++
 gui-apps/eww/eww-0.6.0.ebuild    | 3 +++
 gui-apps/eww/eww-9999.ebuild     | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/gui-apps/eww/eww-0.5.0-r4.ebuild b/gui-apps/eww/eww-0.5.0-r4.ebuild
index c7cdf486bc..25c33f18fe 100644
--- a/gui-apps/eww/eww-0.5.0-r4.ebuild
+++ b/gui-apps/eww/eww-0.5.0-r4.ebuild
@@ -360,6 +360,9 @@ src_configure() {
 src_install() {
        dodoc README.md CHANGELOG.md
        cargo_src_install --path crates/eww
+}
+
+pkg_postinst() {
        elog "Eww wont run without a config file (usually in ~/.config/eww)."
        elog "For example configs visit https://github.com/elkowar/eww#examples";
 }

diff --git a/gui-apps/eww/eww-0.6.0.ebuild b/gui-apps/eww/eww-0.6.0.ebuild
index bbf4fc42a2..bb3a1a0bf9 100644
--- a/gui-apps/eww/eww-0.6.0.ebuild
+++ b/gui-apps/eww/eww-0.6.0.ebuild
@@ -446,6 +446,9 @@ src_install() {
 
        dodoc README.md CHANGELOG.md
        cargo_src_install --path crates/eww
+}
+
+pkg_postinst() {
        elog "Eww wont run without a config file (usually in ~/.config/eww)."
        elog "For example configs visit https://github.com/elkowar/eww#examples";
 }

diff --git a/gui-apps/eww/eww-9999.ebuild b/gui-apps/eww/eww-9999.ebuild
index 99ce3c36f6..595c7d76b2 100644
--- a/gui-apps/eww/eww-9999.ebuild
+++ b/gui-apps/eww/eww-9999.ebuild
@@ -444,6 +444,9 @@ src_install() {
 
        dodoc README.md CHANGELOG.md
        cargo_src_install --path crates/eww
+}
+
+pkg_postinst() {
        elog "Eww wont run without a config file (usually in ~/.config/eww)."
        elog "For example configs visit https://github.com/elkowar/eww#examples";
 }

Reply via email to