From a70dd1550e80eaaa03d3415801be96b7699b7113 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 31 Mar 2019 20:09:35 +0200 Subject: [PATCH] force function overwrite --- support/functions/_update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/support/functions/_update b/support/functions/_update index 9ccd4fc..6f9e90c 100644 --- a/support/functions/_update +++ b/support/functions/_update @@ -16,8 +16,8 @@ update_me(){ svn -q checkout "$s3url" "$s3local"; cd "$s3local"; echo -en " update all files ...\n\n"; - yes | cp -rf s3 "$workdir/s3"; - yes | cp -rf support "$workdir/support"; + yes | cp -rf ./s3 "$workdir/s3"; + yes | cp -rf ./support/functions/* "$workdir/support/functions/"; else echo -en " is up to date\n Online Revision: $online_revision\n\n"; fi @@ -51,8 +51,8 @@ fix_me(){ if [ -d "$s3local/.svn" ];then cd "$s3local"; echo -en " overwrite all files ...\n\n"; - yes | cp -rf s3 "$workdir/s3"; - yes | cp -rf support "$workdir/support"; + yes | cp -rf ./s3 "$workdir/s3"; + yes | cp -rf ./support/functions/* "$workdir/support/functions/"; else update_me; fix_me;