Commit 9bdb36ab authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix QDirIterator wildcard when fallback install script is searched for

Otherwise, we do not find scripts like "install-user.sh".

BUG: 453870
parent 0caa638a
Pipeline #178756 passed with stage
in 6 minutes and 20 seconds
......@@ -337,7 +337,7 @@ bool cmdInstall(const QString &archive, QString &errorText)
// If "install-it" is missing, try "install"
QString installerPath;
const QStringList basenames2 = {"installKDE4.sh", "installKDE4", "install.sh", "install"};
const QStringList basenames2 = {"installKDE4.sh", "installKDE4", "install.sh", "install*.sh"};
for (const auto &basename : basenames2) {
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