From c700e3f88227327a4fdb7f88c7c531dc1f5da928 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 2 Mar 2007 14:18:50 +0000 Subject: [PATCH] don't do the BSD thing in prefix svn path=/main/branches/prefix/; revision=6132 --- bin/etc-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.26.2