Commit 85083b20 authored by Christian Hartmann's avatar Christian Hartmann 💬 Committed by Méven Car
Browse files

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
parent 65413bba
Pipeline #179255 passed with stage
in 5 minutes and 50 seconds
......@@ -379,7 +379,7 @@ bool cmdUninstall(const QString &archive, QString &errorText)
// Try "deinstall" first
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) {
const auto path = findRecursive(dir, basename);
if (!path.isEmpty()) {
......
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