commit:     9d14dc9181a49e1989f875777a4d5fad92dae15c
Author:     Kai Krakow <kai <AT> kaishome <DOT> de>
AuthorDate: Wed Dec 18 20:02:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 20 03:35:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d14dc91

sys-fs/bees: update 9999

Fixes an issue with messages generated for the user and moves the
recommendations to pkg_postinst.

Signed-off-by: Kai Krakow <kai <AT> kaishome.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/bees/bees-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild
index 193a07fc4468..88f0faef9827 100644
--- a/sys-fs/bees/bees-9999.ebuild
+++ b/sys-fs/bees/bees-9999.ebuild
@@ -85,12 +85,16 @@ pkg_pretend() {
                        ewarn "severe slowdowns or even system lockups."
                        ewarn
                fi
+       fi
+}
 
+pkg_postinst() {
+       if [[ ${MERGE_TYPE} != buildonly ]]; then
                elog "Bees recommends running the latest current kernel for 
performance and"
                elog "reliability reasons, see README.md."
                elog
                elog "NEWS: bees now defaults to a much improved extent-based 
scanner. It is compatible"
-               elog "with your existing state database in `\$BEESHOME` but it 
may start over from the"
+               elog "with your existing state database in \`\$BEESHOME\` but 
it may start over from the"
                elog "beginning. However, it will keep the state of the old 
scanner, so you can switch"
                elog "back and forth. To actually use the new scanner, use scan 
mode 4 or remove the"
                elog "scan mode parameter from your init script. Requires 
kernel 4.14 or higher!"

Reply via email to