mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
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…
Add table
Reference in a new issue