fix #192
This commit is contained in:
parent
24564e2307
commit
e0dd86389d
@ -939,11 +939,13 @@ namespace Pamac {
|
|||||||
if (pamac_config.no_confirm_build) {
|
if (pamac_config.no_confirm_build) {
|
||||||
cmds += "--noconfirm";
|
cmds += "--noconfirm";
|
||||||
}
|
}
|
||||||
|
string[] packagebases = {};
|
||||||
foreach (unowned string name in to_build) {
|
foreach (unowned string name in to_build) {
|
||||||
AURPackageDetails details = yield get_aur_details (name);
|
AURPackageDetails details = yield get_aur_details (name);
|
||||||
if (details.name != "") {
|
if (details.name != "") {
|
||||||
if (!(details.packagebase in cmds)) {
|
if (!(details.packagebase in packagebases)) {
|
||||||
cmds += details.packagebase;
|
packagebases += details.packagebase;
|
||||||
|
cmds += name;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
cmds += name;
|
cmds += name;
|
||||||
|
Loading…
Reference in New Issue
Block a user