diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-16 23:09:43 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-16 23:09:43 +0000 |
commit | e9db63dfa0ae90131bee831cd0da4f77ed5c3ea3 (patch) | |
tree | 9a121038f866984e2cbd85a697a81437b16dbc78 /rpmmodule | |
parent | 70c9f3200dff5096602c7a4b584a86cdc26208ad (diff) | |
download | anaconda-e9db63dfa0ae90131bee831cd0da4f77ed5c3ea3.tar.gz anaconda-e9db63dfa0ae90131bee831cd0da4f77ed5c3ea3.tar.xz anaconda-e9db63dfa0ae90131bee831cd0da4f77ed5c3ea3.zip |
fixed
Diffstat (limited to 'rpmmodule')
-rw-r--r-- | rpmmodule/rpmmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c index 4604c74ec..11c9b2ad9 100644 --- a/rpmmodule/rpmmodule.c +++ b/rpmmodule/rpmmodule.c @@ -893,8 +893,8 @@ static PyObject * rpmtransAdd(rpmtransObject * s, PyObject * args) { } else if (how && !strcmp(how, "u")) isUpgrade = 1; - if (how && strcmp(how, "a")) - rpmtransAvailablePackage(s->ts, h, key); + if (how && !strcmp(how, "a")) + rpmtransAvailablePackage(s->ts, h->h, key); else rpmtransAddPackage(s->ts, h->h, NULL, key, isUpgrade, NULL); |