use rsync instead of find/mv to move files
This commit is contained in:
parent
2954b4c799
commit
db7e7703d0
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ printf "> changing repositories...\n"
|
||||||
termux-change-repo
|
termux-change-repo
|
||||||
|
|
||||||
printf "> installing additional packages...\n"
|
printf "> installing additional packages...\n"
|
||||||
pkg install wget curl tsu htop neovim git zsh openssh
|
pkg install wget curl tsu htop neovim git zsh openssh rsync
|
||||||
|
|
||||||
printf "> cleaning package cache...\n"
|
printf "> cleaning package cache...\n"
|
||||||
pkg autoclean
|
pkg autoclean
|
||||||
|
@ -29,7 +29,7 @@ git config --global credential.helper store
|
||||||
|
|
||||||
printf "> cloning git repository...\n"
|
printf "> cloning git repository...\n"
|
||||||
git clone "https://git.velvettear.de/velvettear/termux.git" "$HOME/tmp"
|
git clone "https://git.velvettear.de/velvettear/termux.git" "$HOME/tmp"
|
||||||
find "$HOME/tmp" -not -wholename "$HOME/tmp" -exec mv -f '{}' "$HOME" \;
|
rsync -av "$HOME/tmp/" "$HOME"
|
||||||
rm -rf "$HOME/tmp"
|
rm -rf "$HOME/tmp"
|
||||||
|
|
||||||
printf "> initializing submodule(s)...\n"
|
printf "> initializing submodule(s)...\n"
|
||||||
|
|
Loading…
Reference in a new issue