From 28b0d72f93542f966aee1c8bac287e62fb18bcbe Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Wed, 23 Mar 2022 17:35:46 +0100 Subject: [PATCH] neew version: Fix setup (testing) --- setup.sh | 2 +- usr/local/bin/upd | 2 +- var/lib/upd/setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index a557364..b6f7eb8 100644 --- a/setup.sh +++ b/setup.sh @@ -73,7 +73,7 @@ do && cmd_res="$?" \ && setup__check_err - sudo cp -rf "${PWD}$setup_folder/*" "$setup_folder" \ + sudo rsync -a "${PWD}$setup_folder/" "$setup_folder/" \ && cmd_res="$?" \ && setup__check_err done diff --git a/usr/local/bin/upd b/usr/local/bin/upd index 8501450..7bf5aa9 100755 --- a/usr/local/bin/upd +++ b/usr/local/bin/upd @@ -1,5 +1,5 @@ #!/bin/bash -# version: 0.0.4 +# version: 0.0.5 # file: upd # Folder: /usr/local/bin # By echolib diff --git a/var/lib/upd/setup.sh b/var/lib/upd/setup.sh index a557364..b6f7eb8 100644 --- a/var/lib/upd/setup.sh +++ b/var/lib/upd/setup.sh @@ -73,7 +73,7 @@ do && cmd_res="$?" \ && setup__check_err - sudo cp -rf "${PWD}$setup_folder/*" "$setup_folder" \ + sudo rsync -a "${PWD}$setup_folder/" "$setup_folder/" \ && cmd_res="$?" \ && setup__check_err done