]> cloud.milkyroute.net Git - dolphin.git/commit
fix: service-menu-installer ignoring symlinks on un-install
authorChristian Hartmann <hartmann.christian@gmail.com>
Tue, 5 Apr 2022 11:06:19 +0000 (13:06 +0200)
committerChristian Hartmann <hartmann.christian@gmail.com>
Sat, 21 May 2022 06:21:08 +0000 (06:21 +0000)
commit65413bbad29ea31ea0fab83bbe0f55a3befc5a11
tree94a2cf3989db33e49235923c0efc3586dafad6dc
parent9bdb36abf09fbae9ba045b95bcf1b676c8e5da41
fix: service-menu-installer ignoring symlinks on un-install

service-menu-installer ignores <package-name>.tar.gz-dir/uninstall.sh
if this is actualy just a symbolic link to install.sh in the same directory
(hardlinks and copies work)

canonicalPath() is used to get the name of the file on disk and returns install.sh
in the case of a symbolic link. install.sh without any arguments is called instead
of uninstall.sh consequently and no de-installation takes place.

replace canonicalPath() with absolutePath() as used in the rest of source file

resolves:

BUG: 452289
src/settings/contextmenu/servicemenuinstaller/servicemenuinstaller.cpp