diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-06 14:50:51 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-06 14:50:51 +0300 |
commit | 974a00bc5f42d11da1b0f27a4c2d399147a07f10 (patch) | |
tree | c743f8dac247889f447abf57350e818ce8b03468 /src/update.c | |
parent | ecdacd15032578148489f868fd928fb502032c60 (diff) | |
download | apk-tools-974a00bc5f42d11da1b0f27a4c2d399147a07f10.tar.gz apk-tools-974a00bc5f42d11da1b0f27a4c2d399147a07f10.tar.bz2 apk-tools-974a00bc5f42d11da1b0f27a4c2d399147a07f10.tar.xz apk-tools-974a00bc5f42d11da1b0f27a4c2d399147a07f10.zip |
state, update: fixes
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 5bf7295..eed5d45 100644 --- a/src/update.c +++ b/src/update.c @@ -23,7 +23,7 @@ static int update_main(void *ctx, struct apk_database *db, int argc, char **argv static struct apk_applet apk_update = { .name = "update", .help = "Update repository indexes from all remote repositories.", - .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE, + .open_flags = APK_OPENF_WRITE, .forced_flags = APK_UPDATE_CACHE, .main = update_main, }; |