PORTDIR

From Gentoo Wiki
Jump to:navigation Jump to:search
This page contains changes which are not marked for translation.
The information in this article has been deprecated. It may or may not be relevant for contemporary usage. Handle with care!
Other languages:
English • ‎español • ‎français • ‎italiano • ‎polski • ‎русский • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

The PORTDIR variable was[1] used to point to the main package repository hosted on the system. It has since been deprecated in favor of the location attribute (whose default value is /var/db/repos/gentoo) of the Gentoo repository configuration inside /etc/portage/repos.conf.

The current value of the location attribute can be obtained by using portageq:

user $portageq get_repo_path / gentoo
/var/db/repos/gentoo

External resources

References