From db7e7703d09ee4c4ff96de00790ff052c4f6f551 Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 21 Sep 2022 14:26:57 +0200 Subject: [PATCH] use rsync instead of find/mv to move files --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"