]> cloud.milkyroute.net Git - dolphin.git/commit
Dolphin Service Installer: Run uninstall scripts, rename methods
authorAlexander Lohnau <alexander.lohnau@gmx.de>
Tue, 21 Apr 2020 16:44:48 +0000 (18:44 +0200)
committerAlexander Lohnau <alexander.lohnau@gmx.de>
Tue, 21 Apr 2020 19:29:06 +0000 (21:29 +0200)
commit5bbdf66fce8d01c73ce87a5175234c7f60a2c9cb
tree6e9cb240d7c8674681a8522287d97149dd215115
parent76f9d9a5f5c6b2a26d4e7e927a39f52ebf88960c
Dolphin Service Installer: Run uninstall scripts, rename methods

Summary:
Now scripts starting with `uninstall` are being executed.
Addtionally the `runInstallerScriptOnce` method has been renamed, because it is used to run the install/uninstall scripts.
Same for `runInstallerScript`.
Depends on D28801

Test Plan: Compile, run tests. Try to uninstall a dolphin service which has a uninstall.sh script.

Reviewers: #dolphin, ngraham, nicolasfella, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: cfeck, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D28836
src/settings/services/servicemenuinstaller/servicemenuinstaller.cpp