diff --git a/install.sh b/install.sh index 661163b..f23ac68 100755 --- a/install.sh +++ b/install.sh @@ -6,11 +6,12 @@ apt -y install git vim openssh mkdir -p ~/src cd ~/src || exit -if [ -d termux_devenv ]; then - cd termux_devenv || exit +if [ -d termux_devenv.git ]; then + cd termux_devenv.git || exit git pull else - git clone https://git.bitmessage.org/PeterSurda/termux_devenv + git clone https://git.bitmessage.org/PeterSurda/termux_devenv.git + cd termux_devenv.git || exit fi cp -u files/bashrc ~/.bashrc