summaryrefslogtreecommitdiff
path: root/x11-fm/krusader2/files/patch-plugins_krarc_krarc.cpp
blob: 2c23e15c75fceff1b712bfa48a4790d08ec94871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- plugins/krarc/krarc.cpp.orig	2025-07-16 12:16:19 UTC
+++ plugins/krarc/krarc.cpp
@@ -1568,10 +1568,10 @@ KIO::WorkerResult kio_krarcProtocol::initArcParameters
 
     if (arcType == "zip") {
         noencoding = true;
-        cmd = fullPathName("unzip");
-        listCmd << fullPathName("unzip") << "-ZTs-z-t-h";
-        getCmd << fullPathName("unzip") << "-p";
-        copyCmd << fullPathName("unzip") << "-jo";
+        cmd = QString("%%LOCALBASE%%/bin/unzip");
+        listCmd << cmd << "-ZTs-z-t-h";
+        getCmd << cmd << "-p";
+        copyCmd << cmd << "-jo";
 
         if (QStandardPaths::findExecutable(QStringLiteral("zip")).isEmpty()) {
             delCmd = QStringList();