diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-10-06 14:09:50 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-10-06 14:09:50 +0300 |
commit | f911f7043becd562d2adfafcb26e192023b9c73f (patch) | |
tree | b916284c3216a088c642f5eeacd8688ea69bb8d5 /src/database.c | |
parent | ac39e84d53228bccfd4b371ec3ee3350ceca0f28 (diff) | |
download | apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.gz apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.bz2 apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.tar.xz apk-tools-f911f7043becd562d2adfafcb26e192023b9c73f.zip |
index: fix warning about package names without provider
It's real only if there's a package with actual dependency
(conflicts and install_if dependencies do not count).
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index 3f1b6f6..25b076d 100644 --- a/src/database.c +++ b/src/database.c @@ -498,6 +498,7 @@ static void apk_db_pkg_rdepends(struct apk_database *db, struct apk_package *pkg foreach_array_item(d, pkg->depends) { rname = d->name; + rname->is_dependency |= !d->conflict; foreach_array_item(rd, rname->rdepends) if (*rd == pkg->name) goto rdeps_done; |