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> | 2011-12-24 15:52:35 +0200 |
commit | 415e41a072231e5724c41dec0f2905af25fff821 (patch) | |
tree | 2112a92aea004855becbf3ec6f1b322206d09b13 /src/info.c | |
parent | d80536b750efb7a43ad6222a684b12bc5160729e (diff) | |
download | apk-tools-415e41a072231e5724c41dec0f2905af25fff821.tar.gz apk-tools-415e41a072231e5724c41dec0f2905af25fff821.tar.bz2 apk-tools-415e41a072231e5724c41dec0f2905af25fff821.tar.xz apk-tools-415e41a072231e5724c41dec0f2905af25fff821.zip |
info: -e and -W operate on database only (repos not needed)
.. so do not load them.
Diffstat (limited to 'src/info.c')
-rw-r--r-- | src/info.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -391,9 +391,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; |