From bdf5429e24956997147e28fe71af5903b8e04e8c Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Wed, 19 Jul 2006 09:55:34 +0000 Subject: [PATCH] ensure we have the necessary access svn path=/main/trunk/; revision=3928 --- bin/etc-update | 2 ++ 1 file changed, 2 insertions(+) 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}/$$" -- 2.26.2