Commit 70f33330 authored by guinux's avatar guinux

fix a build order issue

parent b257d718
......@@ -847,9 +847,11 @@ namespace Pamac {
if (db != null) {
if (db.name == "aur") {
// it is a aur pkg to build
if (aur_pkgbases_to_build.find_custom (trans_pkg.pkgbase, strcmp) == null) {
aur_pkgbases_to_build.append (trans_pkg.pkgbase);
unowned SList<string> found = aur_pkgbases_to_build.find_custom (trans_pkg.pkgbase, strcmp);
if (found != null) {
aur_pkgbases_to_build.delete_link (found);
}
aur_pkgbases_to_build.append (trans_pkg.pkgbase);
to_build_pkgs += AURPackageStruct () {
name = trans_pkg.name,
version = trans_pkg.version,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment