xbps: add patch to fix xbps-remove -o
This commit is contained in:
parent
47a2723796
commit
d9e90bbfa6
2 changed files with 20 additions and 1 deletions
19
srcpkgs/xbps/patches/7b728f5ac.patch
Normal file
19
srcpkgs/xbps/patches/7b728f5ac.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
commit 7b728f5ac0adc28f3d7270c26e14ecff73a7f16f
|
||||||
|
Author: Duncaen <mail@duncano.de>
|
||||||
|
Date: Wed Jun 26 22:24:47 2019 +0200
|
||||||
|
|
||||||
|
bin/xbps-remove: fix skipping executing orphans transaction
|
||||||
|
|
||||||
|
diff --git bin/xbps-remove/main.c bin/xbps-remove/main.c
|
||||||
|
index 1ef328a8..4ff943c0 100644
|
||||||
|
--- bin/xbps-remove/main.c
|
||||||
|
+++ bin/xbps-remove/main.c
|
||||||
|
@@ -295,7 +295,7 @@ main(int argc, char **argv)
|
||||||
|
exit(rv);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- if (missing == argc) {
|
||||||
|
+ if (!orphans && missing == argc) {
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
if (orphans || (argc > optind)) {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps
|
pkgname=xbps
|
||||||
version=0.56
|
version=0.56
|
||||||
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…
Add table
Add a link
Reference in a new issue