diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-16 16:59:34 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-16 16:59:34 +0000 |
commit | 6b60a5464561bb8840f5cd71b0f404fd7fd4f610 (patch) | |
tree | 8b649c6b3497427ce87453a7a51a11458e78cbd3 /bin/emerge | |
parent | If repo/profiles/news doesn't exist, return 0 updates (diff) | |
download | portage-multirepo-6b60a5464561bb8840f5cd71b0f404fd7fd4f610.tar.gz portage-multirepo-6b60a5464561bb8840f5cd71b0f404fd7fd4f610.tar.bz2 portage-multirepo-6b60a5464561bb8840f5cd71b0f404fd7fd4f610.zip |
switch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP states.
svn path=/main/trunk/; revision=5673
Diffstat (limited to 'bin/emerge')
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,6 +30,7 @@ except ImportError: import portage del os.environ["PORTAGE_LEGACY_GLOBALS"] from portage import digraph, portdbapi +from portage_const import NEWS_LIB_PATH import emergehelp, xpak, commands, errno, re, socket, time, types import output @@ -3560,7 +3561,7 @@ def post_emerge(settings, mtimedb, retval): chk_updated_cfg_files(target_root, config_protect) NEWS_PATH = os.path.join( "metadata", "news" ) - UNREAD_PATH = os.path.join( target_root, portage.PRIVATE_PATH, 'news') + UNREAD_PATH = os.path.join( target_root, NEWS_LIB_PATH, 'news') porttree = portdbapi( porttree_root = settings["PORTDIR"], mysettings = settings ) newsReaderDisplay = False |