From 4ae7f766207f539d04b5293daab8e1a251831eb3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Dec 2007 20:14:05 +0000 Subject: As suggested by grobian, treat Darwin just like USERLAND=gnu since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118 --- bin/etc-update | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/etc-update') diff --git a/bin/etc-update b/bin/etc-update index c597a50be..ff1378f63 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -401,8 +401,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} == BSD ]] || \ - [[ ${USERLAND} == Darwin ]] ; then + if [[ ${USERLAND} == BSD ]] ; then chown "$(stat -f %Su:%Sg "${ofile}")" "${mfile}" chmod $(stat -f %Mp%Lp "${ofile}") "${mfile}" else -- cgit v1.2.3-1-g7c22