diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-29 20:14:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-29 20:14:05 +0000 |
commit | 4ae7f766207f539d04b5293daab8e1a251831eb3 (patch) | |
tree | 968580810eb917869e9cd0a53946d14e80d249f6 /pym | |
parent | 69b4c507a0cb0059c4ff5da81c4bb49cde27131e (diff) | |
download | portage-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.gz portage-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.bz2 portage-4ae7f766207f539d04b5293daab8e1a251831eb3.zip |
As suggested by grobian, treat Darwin just like USERLAND=gnu
since they seem to be switching commands to gnu anyway.
svn path=/main/trunk/; revision=9118
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/data.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py index 26bff27e6..5fc811e43 100644 --- a/pym/portage/data.py +++ b/pym/portage/data.py @@ -13,15 +13,13 @@ ostype=os.uname()[0] userland = None if ostype == "DragonFly" or ostype.endswith("BSD"): userland = "BSD" -elif ostype == "Darwin": - userland = "Darwin" else: userland = "GNU" lchown = getattr(os, "lchown", None) if not lchown: - if userland == "Darwin": + if ostype == "Darwin": def lchown(*pos_args, **key_args): pass else: |