commit: 043b69dd2c5d70baf94cc934c7c3aa2b19e8f632
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 22 12:35:35 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 12:36:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043b69dd
dev-debug/dtrace: fix branch for 'getting started' link
Show it on new installs, not upgrades.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild | 4 ++--
dev-debug/dtrace/dtrace-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
index d7e856a9d1c0..adfca6d38fe1 100644
--- a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
@@ -171,8 +171,6 @@ pkg_postinst() {
# TODO: Restart it on upgrade? (it will carry across its own persistent
state)
if [[ -n ${REPLACING_VERSIONS} ]]; then
- einfo "See https://wiki.gentoo.org/wiki/DTrace for getting
started."
-
# TODO: Make this more intelligent wrt comparison
if systemd_is_booted ; then
einfo "Restart the DTrace 'dtprobed' service after
upgrades:"
@@ -182,6 +180,8 @@ pkg_postinst() {
einfo " /etc/init.d/dtprobed restart"
fi
else
+ einfo "See https://wiki.gentoo.org/wiki/DTrace for getting
started."
+
if systemd_is_booted ; then
einfo "Enable and start the DTrace 'dtprobed' service
with:"
einfo " systemctl enable --now dtprobed"
diff --git a/dev-debug/dtrace/dtrace-9999.ebuild
b/dev-debug/dtrace/dtrace-9999.ebuild
index d7e856a9d1c0..adfca6d38fe1 100644
--- a/dev-debug/dtrace/dtrace-9999.ebuild
+++ b/dev-debug/dtrace/dtrace-9999.ebuild
@@ -171,8 +171,6 @@ pkg_postinst() {
# TODO: Restart it on upgrade? (it will carry across its own persistent
state)
if [[ -n ${REPLACING_VERSIONS} ]]; then
- einfo "See https://wiki.gentoo.org/wiki/DTrace for getting
started."
-
# TODO: Make this more intelligent wrt comparison
if systemd_is_booted ; then
einfo "Restart the DTrace 'dtprobed' service after
upgrades:"
@@ -182,6 +180,8 @@ pkg_postinst() {
einfo " /etc/init.d/dtprobed restart"
fi
else
+ einfo "See https://wiki.gentoo.org/wiki/DTrace for getting
started."
+
if systemd_is_booted ; then
einfo "Enable and start the DTrace 'dtprobed' service
with:"
einfo " systemctl enable --now dtprobed"