xbps-bin: while updating a package, process required deps first.

--HG--
extra : convert_revision : 661277f80f289d4b965df96d2b12c90378d2c8d3
This commit is contained in:
Juan RP 2009-05-08 17:11:45 +00:00
parent 30def70ad0
commit ad12aa9583

View file

@ -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.
*/