mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-28 18:54:33 +00:00
fix multitargets debian pacakges
This commit is contained in:
parent
dd94448617
commit
8a39ed58bf
@ -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}};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user