projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e78526
)
don't do the BSD thing in prefix
author
Fabian Groffen
<grobian@gentoo.org>
Fri, 2 Mar 2007 14:18:50 +0000
(14:18 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Fri, 2 Mar 2007 14:18:50 +0000
(14:18 -0000)
svn path=/main/branches/prefix/; revision=6132
bin/etc-update
patch
|
blob
|
history
diff --git
a/bin/etc-update
b/bin/etc-update
index f3e2e101b729108b34590c94c3ad3a5380aa79da..61a427d57625e143ec0484f5dc9a87e2be7a3691 100755
(executable)
--- 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}"