xbps-bin: while updating a package, process required deps first.
--HG-- extra : convert_revision : 661277f80f289d4b965df96d2b12c90378d2c8d3
This commit is contained in:
parent
30def70ad0
commit
ad12aa9583
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ xbps_install_pkg(const char *pkg, bool force, bool update)
|
|||
if (strcmp(origin, pkgname))
|
||||
pkg_is_dep = true;
|
||||
|
||||
if (update) {
|
||||
if (update && strcmp(pkg, pkgname) == 0) {
|
||||
/*
|
||||
* Update a package, firstly removing current package.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue