diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-07-18 13:28:49 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-07-18 13:29:13 +0300 |
commit | e1a05c74cb8ae6ab41ee960343cc64a0a9af95a5 (patch) | |
tree | 41fddfc3ceb222fe145c5d66f96e06fb39961a46 /src/apk_database.h | |
parent | d609ef3c6cec438f32383ffb03081a36583402a5 (diff) | |
download | apk-tools-e1a05c74cb8ae6ab41ee960343cc64a0a9af95a5.tar.gz apk-tools-e1a05c74cb8ae6ab41ee960343cc64a0a9af95a5.tar.bz2 apk-tools-e1a05c74cb8ae6ab41ee960343cc64a0a9af95a5.tar.xz apk-tools-e1a05c74cb8ae6ab41ee960343cc64a0a9af95a5.zip |
prevent automatic repository index update for 'apk del'
ref #9063
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 19bafcd..2a7cb3b 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -156,7 +156,7 @@ struct apk_database { unsigned int pending_triggers; int performing_self_upgrade : 1; int permanent : 1; - int open_write : 1; + int autoupdate : 1; int open_complete : 1; int compat_newfeatures : 1; int compat_notinstallable : 1; @@ -211,6 +211,7 @@ struct apk_db_file *apk_db_file_query(struct apk_database *db, #define APK_OPENF_NO_SYS_REPOS 0x0100 #define APK_OPENF_NO_INSTALLED_REPO 0x0200 #define APK_OPENF_CACHE_WRITE 0x0400 +#define APK_OPENF_NO_AUTOUPDATE 0x0800 #define APK_OPENF_NO_REPOS (APK_OPENF_NO_SYS_REPOS | \ APK_OPENF_NO_INSTALLED_REPO) |