commit:     32f33bd323a0fa640a017d945179f32bca672814
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 00:40:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 00:40:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f33bd3

dev-debug/dtrace: consolidate comparison comments

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/dtrace/dtrace-2.0.1.1-r2.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-r2.ebuild 
b/dev-debug/dtrace/dtrace-2.0.1.1-r2.ebuild
index 3db32276421a..7925d047db23 100644
--- a/dev-debug/dtrace/dtrace-2.0.1.1-r2.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.1.1-r2.ebuild
@@ -174,10 +174,10 @@ pkg_postinst() {
        # We need a udev reload to pick up the CUSE device node rules.
        udev_reload
 
-       # TODO: One option for this is to detect when it's needed (DOF stash 
layout changes)
-       # and then e.g. sleep and restart for the user.
        if [[ -n ${REPLACING_VERSIONS} ]]; then
                # TODO: Make this more intelligent wrt comparison
+               # One option for this is to detect when it's needed (DOF stash 
layout changes)
+               # and then e.g. sleep and restart for the user.
                if systemd_is_booted ; then
                        einfo "Restart the DTrace 'dtprobed' service after 
upgrades"
                        einfo "once all dtraces are stopped with:"

diff --git a/dev-debug/dtrace/dtrace-9999.ebuild 
b/dev-debug/dtrace/dtrace-9999.ebuild
index 3435783376e2..ef9e581a040a 100644
--- a/dev-debug/dtrace/dtrace-9999.ebuild
+++ b/dev-debug/dtrace/dtrace-9999.ebuild
@@ -174,10 +174,10 @@ pkg_postinst() {
        # We need a udev reload to pick up the CUSE device node rules.
        udev_reload
 
-       # TODO: One option for this is to detect when it's needed (DOF stash 
layout changes)
-       # and then e.g. sleep and restart for the user.
        if [[ -n ${REPLACING_VERSIONS} ]]; then
                # TODO: Make this more intelligent wrt comparison
+               # One option for this is to detect when it's needed (DOF stash 
layout changes)
+               # and then e.g. sleep and restart for the user.
                if systemd_is_booted ; then
                        einfo "Restart the DTrace 'dtprobed' service after 
upgrades"
                        einfo "once all dtraces are stopped with:"

Reply via email to