libxbps: ignore updates for pkgs with held deps. Close #143
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2008-2014 Juan Romero Pardines.
|
||||
* Copyright (c) 2008-2016 Juan Romero Pardines.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -280,6 +280,10 @@ find_repo_deps(struct xbps_handle *xhp,
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (xbps_dictionary_get(curpkgd, "hold")) {
|
||||
xbps_dbg_printf(xhp, "%s on hold state! ignoring package.\n", curpkg);
|
||||
continue;
|
||||
}
|
||||
/*
|
||||
* Pass 4: find required dependency in repository pool.
|
||||
* If dependency does not match add pkg into the missing
|
||||
|
Reference in New Issue
Block a user