diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:00:20 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:00:20 +0300 |
commit | f02f326238fd1e6424bf914e102ce265e7c156ec (patch) | |
tree | ceded7eb995efa68086b613cbc286d198b60da0a /src/apk_state.h | |
parent | ced1fa83d6361ebfdc40920d98eb292ca4661b4e (diff) | |
download | apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.gz apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.bz2 apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.xz apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.zip |
db: prefer local repositories, and implement --no-network
this helps boots sequence when network is not available.
Diffstat (limited to 'src/apk_state.h')
-rw-r--r-- | src/apk_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_state.h b/src/apk_state.h index 88a5ad0..72c02b9 100644 --- a/src/apk_state.h +++ b/src/apk_state.h @@ -4,7 +4,7 @@ * Copyright (C) 2008 Timo Teräs <timo.teras@iki.fi> * All rights reserved. * - * This program is free software; you can redistribute it and/or modify it + * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. See http://www.gnu.org/ for details. */ @@ -24,6 +24,7 @@ struct apk_change { struct apk_state { unsigned int refs, num_names; + struct apk_database *db; struct list_head change_list_head; apk_name_state_t name[]; }; |