Commit 65413bba authored by Christian Hartmann's avatar Christian Hartmann 💬
Browse files

fix: service-menu-installer ignoring symlinks on un-install

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

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

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


BUG: 452289
parent 9bdb36ab
Pipeline #179116 passed with stage
in 5 minutes and 36 seconds
......@@ -204,7 +204,7 @@ QString findRecursive(const QString &dir, const QString &basename)
QDirIterator it(dir, QStringList{basename}, QDir::Files, QDirIterator::Subdirectories);
while (it.hasNext()) {
return QFileInfo(;
return QFileInfo(;
return QString();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment