Bug 452292

Summary: de-installation runs in konsole for 'uninstall.sh' but not 'install.sh --uninstall' for no discernible reason
Product: [Applications] dolphin Reporter: Christian Hartmann <hartmann.christian>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: ASSIGNED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Hartmann 2022-04-05 10:39:07 UTC
SUMMARY
***
service-menu-installer runs de-installation in konsole for 'uninstall.sh' but
not for 'install.sh --uninstall' for no discernible reason.
***


STEPS TO REPRODUCE
1. create a context menu extension as an archive with install.sh (but not uninstall.sh)
2. run servicemenuinstaller install <package-name-tar-gz>
3. run servicemenuinstaller uninstall <package-name-tar-gz>

4. create a context menu extension as an archive with install.sh (run: cp install.sh uninstall.sh)
5. run servicemenuinstaller install <package-name-tar-gz>
6. run servicemenuinstaller uninstall <package-name-tar-gz>

OBSERVED RESULT
@2.: runs in konsole
@3.: does *not* run in konsole (and does not provode any user feedback from script if there is any)
@5.: runs in konsole
@6.: runs in konsole

EXPECTED RESULT
all run in konsole

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
-
Comment 1 Bug Janitor Service 2022-05-17 11:48:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/372