summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-15 06:03:00 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-15 06:03:00 +0000
commitbc961417e202f54df9f3895b402ea13401fdc208 (patch)
treeb7174930f616e77fdaa04a5ee57fa83b95b2af88 /pym
parentBug 115519 by Diego Petteno: Fix ldconfig command ordering, add dragonfly sup... (diff)
downloadportage-multirepo-bc961417e202f54df9f3895b402ea13401fdc208.tar.gz
portage-multirepo-bc961417e202f54df9f3895b402ea13401fdc208.tar.bz2
portage-multirepo-bc961417e202f54df9f3895b402ea13401fdc208.zip
ferringb says: i pity the fool who doesnt use better style
svn path=/main/trunk/; revision=2373
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 52a04805..cdd9ba76 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -669,7 +669,7 @@ def env_update(makelinks=1):
commands.getstatusoutput("cd / ; /sbin/ldconfig -r "+root)
else:
commands.getstatusoutput("cd / ; /sbin/ldconfig -X -r "+root)
- elif ostype == "FreeBSD" or ostype == "DragonFly":
+ elif ostype in ("FreeBSD","DragonFly"):
if (ld_cache_update):
writemsg(">>> Regenerating "+str(root)+"var/run/ld-elf.so.hints...\n")
commands.getstatusoutput("cd / ; /sbin/ldconfig -elf -i -f "+str(root)+"var/run/ld-elf.so.hints "+str(root)+"etc/ld.so.conf")