diff options
author | Benedikt Morbach <benedikt.morbach@googlemail.com> | 2011-07-18 01:54:06 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-08 17:26:46 -0600 |
commit | e85e77e6f9f0979a16d69cd93ee6ea35583e9bfb (patch) | |
tree | 9620ed6fb2efcd866dd1cff1b7e7cdfc1846e3ea /lib/libalpm/be_sync.c | |
parent | 00f29cbc14ec24f1e432eadaf35742857285a01a (diff) | |
download | pacman-e85e77e6f9f0979a16d69cd93ee6ea35583e9bfb.tar.xz |
Hook new optdepend structures up
No new behaviour introduced, everything should work exactly as before.
Dan: refactored to use the single alpm_depend_t structure.
Signed-off-by: Benedikt Morbach <benedikt.morbach@googlemail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index b7b2acd3..c4032032 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -566,7 +566,7 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive, } else if(strcmp(line, "%DEPENDS%") == 0) { READ_AND_SPLITDEP(pkg->depends); } else if(strcmp(line, "%OPTDEPENDS%") == 0) { - READ_AND_STORE_ALL(pkg->optdepends); + READ_AND_SPLITDEP(pkg->optdepends); } else if(strcmp(line, "%CONFLICTS%") == 0) { READ_AND_SPLITDEP(pkg->conflicts); } else if(strcmp(line, "%PROVIDES%") == 0) { |