mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-24 18:56:08 +00:00
fix name of uninstall command (without extension)
fixing a minor typo allows using "uninstall" command (variant **without** extension) on de-installation of a service menu
This commit is contained in:
parent
65413bbad2
commit
85083b209c
|
@ -379,7 +379,7 @@ bool cmdUninstall(const QString &archive, QString &errorText)
|
||||||
|
|
||||||
// Try "deinstall" first
|
// Try "deinstall" first
|
||||||
QString deinstallPath;
|
QString deinstallPath;
|
||||||
const QStringList basenames1 = {"uninstall.sh", "uninstal", "deinstall.sh", "deinstall"};
|
const QStringList basenames1 = {"uninstall.sh", "uninstall", "deinstall.sh", "deinstall"};
|
||||||
for (const auto &basename : basenames1) {
|
for (const auto &basename : basenames1) {
|
||||||
const auto path = findRecursive(dir, basename);
|
const auto path = findRecursive(dir, basename);
|
||||||
if (!path.isEmpty()) {
|
if (!path.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue