diff options
author | jbj <devnull@localhost> | 2000-04-27 01:11:48 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-04-27 01:11:48 +0000 |
commit | 113948c75c111b27d168719573d5c29c92e7dc0d (patch) | |
tree | 075e5f5b2f25bdb9319648610b99a466eab33136 /python | |
parent | 24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8 (diff) | |
download | librpm-tizen-113948c75c111b27d168719573d5c29c92e7dc0d.tar.gz librpm-tizen-113948c75c111b27d168719573d5c29c92e7dc0d.tar.bz2 librpm-tizen-113948c75c111b27d168719573d5c29c92e7dc0d.zip |
Sanity and API clean up. (make dist)
CVS patchset: 3705
CVS date: 2000/04/27 01:11:48
Diffstat (limited to 'python')
-rw-r--r-- | python/upgrade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/upgrade.c b/python/upgrade.c index 1ce68e4f7..a2db940a4 100644 --- a/python/upgrade.c +++ b/python/upgrade.c @@ -589,7 +589,7 @@ int ugFindUpgradePackages(struct pkgSet *psp, char *installRoot) rpmSetVerbosity(RPMMESS_FATALERROR); old = rpmErrorSetCallback(emptyErrorCallback); - if (rpmdbOpenForTraversal(installRoot, &db)) { + if (rpmdbOpen(installRoot, &db, O_RDONLY, 0644)) { /*logMessage("failed opening %s/var/lib/rpm/packages.rpm", installRoot);*/ return(-1); |