summaryrefslogtreecommitdiffstats
path: root/bin/etc-update
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-08 19:23:28 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-08 19:23:28 +0000
commit208449403286dc93a5a22185faa028e43b8e75c2 (patch)
tree8460e234f23c8678624ee34d81c2553288b0236e /bin/etc-update
parent055b853757adb26d75dd9157b2e0f81f288e9f20 (diff)
downloadportage-208449403286dc93a5a22185faa028e43b8e75c2.tar.gz
portage-208449403286dc93a5a22185faa028e43b8e75c2.tar.bz2
portage-208449403286dc93a5a22185faa028e43b8e75c2.zip
Use user-provided for -5 (bug #47442) (trunk r6735)
svn path=/main/branches/2.1.2/; revision=6756
Diffstat (limited to 'bin/etc-update')
-rwxr-xr-xbin/etc-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update
index 742aed1b5..a6378a142 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -176,7 +176,8 @@ configuration file is followed by a list of possible replacement files."
fi
if [[ ${input} == -5 ]] ; then
input=-3
- export mv_opts=""
+ export mv_opts=" ${mv_opts} "
+ mv_opts="${mv_opts// -i / }"
fi
if [[ ${input} == -3 ]] ; then
input=0