diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-12-24 15:52:35 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-01 10:05:09 +0200 |
commit | 4148f9ce43cfd62b957b0c8ca9c77eff19348e42 (patch) | |
tree | 7d53ded926beb197593232dbf49a68ab53c9a4c5 | |
parent | 04950974bf56bde409a29390f4a794f8f283f12d (diff) | |
download | apk-tools-4148f9ce43cfd62b957b0c8ca9c77eff19348e42.tar.gz apk-tools-4148f9ce43cfd62b957b0c8ca9c77eff19348e42.tar.bz2 apk-tools-4148f9ce43cfd62b957b0c8ca9c77eff19348e42.tar.xz apk-tools-4148f9ce43cfd62b957b0c8ca9c77eff19348e42.zip |
info: -e and -W operate on database only (repos not needed)
.. so do not load them.
(cherry picked from commit 415e41a072231e5724c41dec0f2905af25fff821)
-rw-r--r-- | src/info.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -368,9 +368,11 @@ static int info_parse(void *ctx, struct apk_db_options *dbopts, switch (optch) { case 'e': ictx->action = info_exists; + dbopts->open_flags |= APK_OPENF_NO_REPOS; break; case 'W': ictx->action = info_who_owns; + dbopts->open_flags |= APK_OPENF_NO_REPOS; break; case 'w': ictx->subaction_mask |= APK_INFO_URL; |