summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-10-12 19:32:08 +0200
committerAllan McRae <allan@archlinux.org>2013-10-14 05:01:15 +0200
commit55ca38b4cdccc1ec57ec285f58f422f189d327b4 (patch)
treefb868547775222d6ac9815108403672b31916e12 /src/pacman/conf.h
parent64e4f627c1ed2318bc24de8b8f680d7b3c5f993f (diff)
downloadpacman-55ca38b4cdccc1ec57ec285f58f422f189d327b4.tar.gz
pacman-55ca38b4cdccc1ec57ec285f58f422f189d327b4.tar.xz
rename PKG_LOCALITY_LOCAL -> PKG_LOCALITY_NATIVE
PKG_LOCALITY_LOCAL was confusing because the enum is used with -Q, so all packages are "local". Also reversed the config->op_q_locality assignment so that the locality matches the option used. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index e263d7c6..3ba49eae 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -187,7 +187,7 @@ enum {
/** package locality */
enum {
PKG_LOCALITY_UNSET = 0,
- PKG_LOCALITY_LOCAL = (1 << 0),
+ PKG_LOCALITY_NATIVE = (1 << 0),
PKG_LOCALITY_FOREIGN = (1 << 1)
};