From 7fc3d20d22134f47dd3367cfe2a499a79ce9f4fc Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 16 Feb 2006 04:51:00 +0000 Subject: [PATCH] generalize the BSD checks. svn path=/main/trunk/; revision=2717 --- pym/portage_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage_data.py b/pym/portage_data.py index 43d4f6b2a..00148f907 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -19,7 +19,7 @@ elif ostype == "Darwin": os.environ["XARGS"]="xargs" def lchown(*pos_args, **key_args): pass -elif ostype in ["FreeBSD","OpenBSD","NetBSD","DragonFly"]: +elif ostype.endswith("BSD") or ostype =="DragonFly": userland="BSD" os.environ["XARGS"]="xargs" else: -- 2.26.2