libopkg: do not clobber package flags during parsing
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Feb 2017 23:18:25 +0000 (00:18 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:30 +0000 (17:02 +0100)
commit4d7c0d82dbcd0c98a1f1193a1a3c67b5047705e9
tree631e704f698ec1ef0c544e1e2b74428a6689c4e7
parente751eeb3646ab0129e845f2bf7f16d3556d36a6f
libopkg: do not clobber package flags during parsing

When parsing "Status:" lines from package control or list files, do not
overwrite previously set flags in the package structure.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg_parse.c