projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1791e
)
Record header instance on rpmdbAdd() on success
author
Panu Matilainen
<pmatilai@redhat.com>
Sun, 30 Nov 2008 15:28:11 +0000
(17:28 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Sun, 30 Nov 2008 15:28:11 +0000
(17:28 +0200)
lib/rpmdb.c
patch
|
blob
|
history
diff --git
a/lib/rpmdb.c
b/lib/rpmdb.c
index
2fe429b
..
f1f51d2
100644
(file)
--- a/
lib/rpmdb.c
+++ b/
lib/rpmdb.c
@@
-2928,6
+2928,10
@@
cont:
}
rec = _free(rec);
+ /* If everthing ok, mark header as installed now */
+ if (ret == 0) {
+ headerSetInstance(h, hdrNum);
+ }
}
exit: