summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-12-23 18:08:10 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-23 18:08:10 +0100
commit6dce27f2300bf342ee450b2aced3775d5c14632b (patch)
tree3d5b7ad60a866f9d298e63e4a4d5d5d0f44b7bf1
parentd4920d6463feea2e0b9e476989103ba53981c1e0 (diff)
downloadjenkins.debian.net-6dce27f2300bf342ee450b2aced3775d5c14632b.tar.xz
preserve timestamps
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 30eb145a..f5724fcc 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -77,7 +77,7 @@ echo "Also needs ovmf from jessie..."
# deploy package configuration in /etc
#
cd $BASEDIR
-sudo cp -r etc/* /etc
+sudo cp --preserve=mode,timestamps -r etc/* /etc
#
# more configuration than a simple cp can do
@@ -101,7 +101,7 @@ sudo service munin-node force-reload
# install the heart of jenkins.debian.net
#
cd $BASEDIR
-cp -r bin logparse job-cfg features /srv/jenkins/
+cp --preserve=mode,timestamps -r bin logparse job-cfg features /srv/jenkins/
cp procmailrc /var/lib/jenkins/.procmailrc
explain "Jenkins updated."
cp -pr README INSTALL TODO d-i-preseed-cfgs /var/lib/jenkins/userContent/