diff options
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 |