summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-22 13:35:35 +0100
committerSam James <sam@gentoo.org>2024-08-22 13:36:05 +0100
commit043b69dd2c5d70baf94cc934c7c3aa2b19e8f632 (patch)
tree29679a0bb0ee59bc050b663e016a6c0ac1c58545 /dev-debug
parentdev-debug/dtrace: sort IUSE (diff)
downloadgentoo-043b69dd2c5d70baf94cc934c7c3aa2b19e8f632.tar.gz
gentoo-043b69dd2c5d70baf94cc934c7c3aa2b19e8f632.tar.bz2
gentoo-043b69dd2c5d70baf94cc934c7c3aa2b19e8f632.zip
dev-debug/dtrace: fix branch for 'getting started' link
Show it on new installs, not upgrades. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild4
-rw-r--r--dev-debug/dtrace/dtrace-9999.ebuild4
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"