This commit is contained in:
guinux 2017-01-04 09:48:29 +01:00
parent 24564e2307
commit e0dd86389d

View File

@ -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;