Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-10-29 15:35:41 +1000
committerAllan McRae <allan@archlinux.org>2012-12-14 12:35:34 +1000
commitf5d904d97f66d5e3337578541f2f440e846b9490 (patch)
tree6ae93405b8e5078aff65dffcdb12b1a26fb6b374 /lib/libalpm/alpm.h
parent422a4021e482c51d4f21303dfd4eff4c15ba1114 (diff)
Do not warn about missing database if being downloaded
When a configured repo database is not already downloaded, a warning message such as "warning: database file for 'testing' does not exist" is printed. Disable this warning when the database is scheduled to be downloaded in the transaction. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index d2d6055d..f1c6efd3 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -351,7 +351,9 @@ typedef enum _alpm_event_t {
ALPM_EVENT_DISKSPACE_DONE,
/** An optdepend for another package is being removed
* The requiring package and its dependency are passed to the callback */
- ALPM_EVENT_OPTDEP_REQUIRED
+ ALPM_EVENT_OPTDEP_REQUIRED,
+ /** A configured repository database is missing */
+ ALPM_EVENT_DATABASE_MISSING
} alpm_event_t;
/** Event callback */