Skip to content

Commit ec665f9

Browse files
committed
hot fix linux build
1 parent 686582e commit ec665f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Deploy/configparser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,9 +1219,8 @@ bool ConfigParser::checkSnapPermisions() {
12191219

12201220
bool system = QuasarAppUtils::Params::isEndable("deploySystem") ||
12211221
QuasarAppUtils::Params::isEndable("extraLibs");
1222-
bool checkPath = QDir(DeployCore::snapRootFS()).entryList(QDir::AllEntries | QDir::NoDotAndDotDot).size();
12231222

1224-
if (system && !checkPath) {
1223+
if (system && !DeployCore::checkSystemBakupSnapInterface()) {
12251224

12261225
QuasarAppUtils::Params::log("You use a deploySystem or extraLibs options,"
12271226
" but not added permision system-backup for cqtdeployer."

Deploy/deploycore.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ class DEPLOYSHARED_EXPORT DeployCore
193193
static bool isSnap();
194194
static QString snapRootFS();
195195
static QString transportPathToSnapRoot(const QString &path);
196+
static bool checkSystemBakupSnapInterface();
196197
};
197198

198199
#endif // DEPLOYUTILS_H

0 commit comments

Comments
 (0)