summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-26 14:06:38 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-26 14:06:38 +0000
commit1e97aecdc2b27ff3a78ee4061eaa712b6d667980 (patch)
treecc992f581f2b145c3d2adc82955cc2fe1706cf26 /bin
parentUpdate the dblink.isprotected() docstring. (diff)
downloadportage-multirepo-1e97aecdc2b27ff3a78ee4061eaa712b6d667980.tar.gz
portage-multirepo-1e97aecdc2b27ff3a78ee4061eaa712b6d667980.tar.bz2
portage-multirepo-1e97aecdc2b27ff3a78ee4061eaa712b6d667980.zip
For bug #8423, make etc-update preserve timestamps when possible.
svn path=/main/trunk/; revision=5135
Diffstat (limited to 'bin')
-rwxr-xr-xbin/etc-update2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update
index 3c9d87ef..17a008bf 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -336,7 +336,6 @@ Please select from the menu above (-1 to ignore this update): "
1) echo "Replacing ${ofile} with ${file}"
mv ${mv_opts} ${file} ${ofile}
[ -n "${OVERWRITE_ALL}" ] && my_input=-1
- [ -e "${file}" ] || touch ${ofile}
continue
;;
2) echo "Deleting ${file}"
@@ -388,7 +387,6 @@ Please select from the menu above (-1 to exit, losing this merge): "
1) echo "Replacing ${ofile} with ${mfile}"
chmod --reference=${ofile} ${mfile}
mv ${mv_opts} ${mfile} ${ofile}
- [ -e "${mfile}" ] || touch ${ofile}
rm ${rm_opts} ${file}
return 255
;;