2 # Copyright 1999-2006 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Id: /var/cvsroot/gentoo-src/portage/bin/env-update,v 1.9 2004/10/04 13:56:50 vapier Exp $
7 os.environ["PORTAGE_CALLER"] = "env-update"
8 sys.path = ["/usr/lib/portage/pym"]+sys.path
11 print "Usage: env-update"
13 print "See the env-update(1) man page for more info"
16 if "-h" in sys.argv or "--help" in sys.argv:
20 if "--no-ldconfig" in sys.argv:
22 sys.argv.pop(sys.argv.index("--no-ldconfig"))
25 print "!!! Invalid command line options!\n"
29 portage.env_update(makelinks)