xbps: fix another regression
This commit is contained in:
parent
14c23d0f90
commit
2310b0ff8c
|
@ -0,0 +1,26 @@
|
||||||
|
From 00a3e314b1204c7da4fd18c79f25429d67a55fa1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Duncan Overbruck <mail@duncano.de>
|
||||||
|
Date: Wed, 4 Mar 2020 23:39:27 +0100
|
||||||
|
Subject: [PATCH] lib/transaction_check_revdeps.c: fix regression in revdeps
|
||||||
|
check
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/transaction_check_revdeps.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git lib/transaction_check_revdeps.c lib/transaction_check_revdeps.c
|
||||||
|
index 211f1df0..7e30e3e8 100644
|
||||||
|
--- lib/transaction_check_revdeps.c
|
||||||
|
+++ lib/transaction_check_revdeps.c
|
||||||
|
@@ -172,6 +172,8 @@ xbps_transaction_check_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs)
|
||||||
|
error = true;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ ttype = 0;
|
||||||
|
if ((revpkgd = xbps_find_pkg_in_array(pkgs, pkgname, 0))) {
|
||||||
|
ttype = xbps_transaction_pkg_type(revpkgd);
|
||||||
|
if (ttype == XBPS_TRANS_REMOVE)
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps
|
pkgname=xbps
|
||||||
version=0.59
|
version=0.59
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="XBPS package system utilities"
|
short_desc="XBPS package system utilities"
|
||||||
|
|
Loading…
Reference in a new issue