summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-29 20:14:05 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-29 20:14:05 +0000
commit4ae7f766207f539d04b5293daab8e1a251831eb3 (patch)
tree968580810eb917869e9cd0a53946d14e80d249f6 /bin/etc-update
parentFix USERLAND references to handle Darwin like BSD. (diff)
downloadportage-multirepo-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.gz
portage-multirepo-4ae7f766207f539d04b5293daab8e1a251831eb3.tar.bz2
portage-multirepo-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-xbin/etc-update3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update
index c597a50b..ff1378f6 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