Remove unused patch
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
d8de5b6669
commit
ccc7d3ebe1
@ -1,13 +0,0 @@
|
|||||||
diff --git a/ext/repo_rpmdb_librpm.h b/ext/repo_rpmdb_librpm.h
|
|
||||||
index 34e6698..35a46fa 100644
|
|
||||||
--- a/ext/repo_rpmdb_librpm.h
|
|
||||||
+++ b/ext/repo_rpmdb_librpm.h
|
|
||||||
@@ -46,7 +46,7 @@ static void
|
|
||||||
detect_dbpath(struct rpmdbstate *state)
|
|
||||||
{
|
|
||||||
state->dbpath = access_rootdir(state, "/var/lib/rpm", W_OK) == -1
|
|
||||||
- && access_rootdir(state, "/usr/share/rpm/Packages", R_OK) == 0
|
|
||||||
+ && (access_rootdir(state, "/usr/share/rpm/Packages", R_OK) == 0 || access_rootdir(state, "/usr/share/rpm/rpmdb.sqlite", R_OK) == 0)
|
|
||||||
? "/usr/share/rpm" : "/var/lib/rpm";
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user