diff --git a/install.sh b/install.sh index b840b13..8d84f3c 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ printf "> changing repositories...\n" termux-change-repo 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" pkg autoclean @@ -29,7 +29,7 @@ git config --global credential.helper store printf "> cloning git repository...\n" 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" printf "> initializing submodule(s)...\n"