From ad12aa9583dc893ef6aa57e123d949dc5a69bea0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 May 2009 17:11:45 +0000 Subject: [PATCH] xbps-bin: while updating a package, process required deps first. --HG-- extra : convert_revision : 661277f80f289d4b965df96d2b12c90378d2c8d3 --- bin/xbps-bin/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index a271422da94..65f5ccfb495 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -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. */