fix multitargets debian pacakges

This commit is contained in:
Andrei Yankovich 2021-05-26 13:39:29 +03:00
parent dd94448617
commit 8a39ed58bf

View File

@ -195,7 +195,7 @@ bool iDistribution::collectInfo(const DistroModule& pkg,
info.Prefix = releativeLocation(pkg);
QString cmdArray = "[";
QString bashArray = "";
QString bashArray = "(";
int initSize = cmdArray.size();
for (const auto &target :pkg.targets()) {
@ -210,6 +210,7 @@ bool iDistribution::collectInfo(const DistroModule& pkg,
}
}
cmdArray += "]";
bashArray += ")";
info.Custom = {{"[\"array\", \"of\", \"cmds\"]", cmdArray}};