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