diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-01-08 11:45:09 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-01-08 11:56:48 +0200 |
commit | 5f7dcadc691f4064464be02427fa6e7fd61888f1 (patch) | |
tree | 69a9a9c8fcb1b2e32ee94a5a3997d6e169128ec2 /src/apk_database.h | |
parent | d0a25d670a35583701f07196d5ed2ba51eab9f3a (diff) | |
download | apk-tools-5f7dcadc691f4064464be02427fa6e7fd61888f1.tar.gz apk-tools-5f7dcadc691f4064464be02427fa6e7fd61888f1.tar.bz2 apk-tools-5f7dcadc691f4064464be02427fa6e7fd61888f1.tar.xz apk-tools-5f7dcadc691f4064464be02427fa6e7fd61888f1.zip |
auto-update index only when database is opened for writing
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index daf4ddc..19bafcd 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -156,6 +156,7 @@ struct apk_database { unsigned int pending_triggers; int performing_self_upgrade : 1; int permanent : 1; + int open_write : 1; int open_complete : 1; int compat_newfeatures : 1; int compat_notinstallable : 1; |