From: Marius Mauch Date: Wed, 19 Jul 2006 09:55:34 +0000 (-0000) Subject: ensure we have the necessary access X-Git-Tag: v2.1.1~198 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bdf5429e24956997147e28fe71af5903b8e04e8c;p=portage.git ensure we have the necessary access svn path=/main/trunk/; revision=3928 --- diff --git a/bin/etc-update b/bin/etc-update index f6775e957..41def58a1 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -365,6 +365,8 @@ scriptname=$(basename $0) trap die term +[ -w /etc ] || die "Need root priviledges for write access to /etc" + export PORTAGE_TMPDIR=$(/usr/lib/portage/bin/portageq envvar PORTAGE_TMPDIR) TMP="${PORTAGE_TMPDIR}/$$"