From c2f8c0b55e0ac5db6cd7eac4fbb34cb39707d3bc Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 22 Nov 2013 16:16:23 +0100 Subject: [PATCH] install.sh: Try to preserve timestamps --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1018e61..6e85bee 100755 --- a/install.sh +++ b/install.sh @@ -26,8 +26,8 @@ Copy_File() { fi fi Msg " " - cp "$src" "$dst" || Abort - if [ -n "$own" -a "$own" != "$USER" ]; then + cp --preserve=timestamps "$src" "$dst" || Abort + if [ -n "$own" ]; then chown "$own" "$dst" || Abort fi if [ -n "$perm" ]; then -- 2.39.2