diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-07-24 14:24:58 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-07-24 14:24:58 +0300 |
commit | 04950974bf56bde409a29390f4a794f8f283f12d (patch) | |
tree | 650617e8f35f2859077d5de27c0ceb2d41a038e9 /src | |
parent | 6b24f3c3998a66b0e5baa4de89ed66f2b8688404 (diff) | |
download | apk-tools-04950974bf56bde409a29390f4a794f8f283f12d.tar.gz apk-tools-04950974bf56bde409a29390f4a794f8f283f12d.tar.bz2 apk-tools-04950974bf56bde409a29390f4a794f8f283f12d.tar.xz apk-tools-04950974bf56bde409a29390f4a794f8f283f12d.zip |
ver: database is not needed for version string checking and tests
Diffstat (limited to 'src')
-rw-r--r-- | src/ver.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -75,9 +75,11 @@ static int ver_parse(void *ctx, struct apk_db_options *dbopts, break; case 't': ictx->action = ver_test; + dbopts->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS; break; case 'c': ictx->action = ver_validate; + dbopts->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS; break; case 'l': ictx->limchars = optarg; |