termux_devenv/install.sh
Peter Surda 2323619b00
Some checks failed
buildbot/travis_bionic Build done.
Update termux and add pullrequest script
2021-08-03 14:19:59 +08:00

24 lines
438 B
Bash
Executable File

#!/bin/bash
apt -y update
apt -y install git vim openssh
mkdir -p ~/src
cd ~/src || exit
if [ -d termux_devenv ]; then
cd termux_devenv || exit
git pull
else
git clone https://git.bitmessage.org/PeterSurda/termux_devenv.git
cd termux_devenv || exit
fi
cp -u files/bashrc ~/.bashrc
cp -u files/vimrc ~/.vimrc
mkdir -p ~/.termux
cp -u files/termux.properties ~/.termux
cp -u files/pullrequest.sh $PREFIX/bin
termux-reload-settings