diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-12-14 17:04:26 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-12-14 17:06:29 +0200 |
commit | fca1c30b801537ce35c1e4aa50331ae52c9bf567 (patch) | |
tree | cc672d5bf3e1b6811aaff7d00ec49e14eae954c3 /src/apk_database.h | |
parent | 6e34f048c7e200a56761e19fea7801dbfa4b0e27 (diff) | |
download | apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.gz apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.bz2 apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.xz apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.zip |
pkg, db: add preliminary support for arch field
Architecture is now:
- parsed from .PKGINFO
- written to index and installed db
- appended to repository URL when fetching files
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 76ce8a9..cfac023 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -103,7 +103,7 @@ struct apk_database { char *root; int root_fd, lock_fd, cache_fd, cachetmp_fd, keys_fd; unsigned name_id, num_repos; - const char *cache_dir; + const char *cache_dir, *arch; int permanent; unsigned int local_repos; |