From: Fabian Groffen Date: Fri, 2 Mar 2007 14:18:50 +0000 (-0000) Subject: don't do the BSD thing in prefix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c700e3f88227327a4fdb7f88c7c531dc1f5da928;p=portage.git don't do the BSD thing in prefix svn path=/main/branches/prefix/; revision=6132 --- diff --git a/bin/etc-update b/bin/etc-update index f3e2e101b..61a427d57 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -386,7 +386,7 @@ Please select from the menu above (-1 to exit, losing this merge): " my_input=$(read_int) case ${my_input} in 1) echo "Replacing ${ofile} with ${mfile}" - if [[ ${USERLAND} == GNU ]]; then + if [[ ${USERLAND} == GNU ]] || [[ ${EPREFIX%/} != "" ]]; then chmod --reference="${ofile}" "${mfile}" else chmod $(stat -f %Mp%Lp "${ofile}") "${mfile}"