aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-06-07 19:57:02 +0200
committerFabian Groffen <grobian@gentoo.org>2019-06-07 19:57:02 +0200
commitdd5b9a8f11448ba8a644d0d352416ead0eb066bf (patch)
tree8ab3807f06586a056e292e8c185000d78f776ab2 /main.c
parentapplets.h: loose __weak__ attribute stuff (diff)
downloadportage-utils-dd5b9a8f11448ba8a644d0d352416ead0eb066bf.tar.gz
portage-utils-dd5b9a8f11448ba8a644d0d352416ead0eb066bf.tar.bz2
portage-utils-dd5b9a8f11448ba8a644d0d352416ead0eb066bf.zip
main: update default locations for PORTDIR and PKGDIR
/usr/portage -> /var/db/repos/gentoo /usr/portage/packages -> /var/cache/binpkgs Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0fdb4205..b07eb5aa 100644
--- a/main.c
+++ b/main.c
@@ -615,10 +615,10 @@ initialize_portage_env(void)
_Q_EVS(ISTR, FEATURES, features, "")
_Q_EVS(STR, EPREFIX, eprefix, CONFIG_EPREFIX)
_Q_EVS(STR, EMERGE_LOG_DIR, portlogdir, CONFIG_EPREFIX "var/log")
- _Q_EVS(STR, PORTDIR, main_overlay, CONFIG_EPREFIX "usr/portage")
+ _Q_EVS(STR, PORTDIR, main_overlay, CONFIG_EPREFIX "var/db/repos/gentoo")
_Q_EVS(STR, PORTAGE_BINHOST, binhost, DEFAULT_PORTAGE_BINHOST)
_Q_EVS(STR, PORTAGE_TMPDIR, port_tmpdir, CONFIG_EPREFIX "var/tmp/portage/")
- _Q_EVS(STR, PKGDIR, pkgdir, CONFIG_EPREFIX "usr/portage/packages/")
+ _Q_EVS(STR, PKGDIR, pkgdir, CONFIG_EPREFIX "var/cache/binpkgs/")
_Q_EVS(STR, Q_VDB, portvdb, CONFIG_EPREFIX "var/db/pkg")
_Q_EVS(STR, Q_EDB, portedb, CONFIG_EPREFIX "var/cache/edb")
{ NULL, 0, _Q_BOOL, { NULL }, 0, NULL, }