summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-26 06:45:38 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-26 06:45:38 +0000
commit83101d0dce389eacb0da3ce1c7ddbe5333dfc157 (patch)
treeea6249e378ff428235808e810c759c31277a45de /eclass
parentrestrict enew{user,group} to pkg_{setup,preinst,postinst} (diff)
downloadgentoo-2-83101d0dce389eacb0da3ce1c7ddbe5333dfc157.tar.gz
gentoo-2-83101d0dce389eacb0da3ce1c7ddbe5333dfc157.tar.bz2
gentoo-2-83101d0dce389eacb0da3ce1c7ddbe5333dfc157.zip
do not touch sandbox settings since we only run in pkg_* funcs (where sandbox is disabled)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/user.eclass9
1 files changed, 1 insertions, 8 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass
index f38e4803631d..d46d3b2ce54c 100644
--- a/eclass/user.eclass
+++ b/eclass/user.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.11 2011/11/26 06:42:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.12 2011/11/26 06:45:38 vapier Exp $
# @ECLASS: user.eclass
# @MAINTAINER:
@@ -222,8 +222,6 @@ enewuser() {
fi
# add the user
- local oldsandbox=${SANDBOX_ON}
- export SANDBOX_ON="0"
case ${CHOST} in
*-darwin*)
### Make the user
@@ -265,8 +263,6 @@ enewuser() {
chown ${euser} "${ROOT}/${ehome}"
chmod 755 "${ROOT}/${ehome}"
fi
-
- export SANDBOX_ON=${oldsandbox}
}
# @FUNCTION: enewgroup
@@ -327,8 +323,6 @@ enewgroup() {
fi
# add the group
- local oldsandbox="${SANDBOX_ON}"
- export SANDBOX_ON="0"
case ${CHOST} in
*-darwin*)
# If we need the next available
@@ -367,7 +361,6 @@ enewgroup() {
groupadd -r ${opts} ${egroup} || die
;;
esac
- export SANDBOX_ON="${oldsandbox}"
}
# @FUNCTION: egethome