File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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."
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments