diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-29 20:14:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-29 20:14:05 +0000 |
commit | 4ae7f766207f539d04b5293daab8e1a251831eb3 (patch) | |
tree | 968580810eb917869e9cd0a53946d14e80d249f6 /bin/etc-update | |
parent | 69b4c507a0cb0059c4ff5da81c4bb49cde27131e (diff) | |
download | portage-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.gz portage-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.bz2 portage-4ae7f766207f539d04b5293daab8e1a251831eb3.zip |
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
Diffstat (limited to 'bin/etc-update')
-rwxr-xr-x | bin/etc-update | 3 |
1 files changed, 1 insertions, 2 deletions
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 |