Skip to content

Commit

Permalink
ref #321 "make default package as base"
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Feb 19, 2021
1 parent 6e0e22f commit eebc640
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Deploy/configparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,21 +530,12 @@ bool ConfigParser::initPackages() {
}
}

if (fDefaultPackage) {
_config.packagesEdit().insert(defaultPackage, DistroModule{defaultPackage});
}

_config.packagesEdit().insert(defaultPackage, DistroModule{defaultPackage});
_config.setDefaultPackage(defaultPackage);

return true;
}

void ConfigParser::initBasePackages() {
if (QuasarAppUtils::Params::isEndable("noBase")) {
return;
}
}

bool ConfigParser::initRunScripts() {
const auto list = QuasarAppUtils::Params::getStrArg("runScript").split(DeployCore::getSeparator(0), splitbehavior);

Expand Down Expand Up @@ -656,7 +647,6 @@ bool ConfigParser::parseDeployMode() {
initExtraPath();
initExtraNames();
initPlugins();
initBasePackages();

if (!initQmake()) {

Expand Down

0 comments on commit eebc640

Please sign in to comment.