termux.sh: Pull zeronet if already cloned
This commit is contained in:
parent
35eaa2a4d4
commit
ba77c99688
1 changed files with 15 additions and 4 deletions
15
termux.sh
15
termux.sh
|
@ -1,9 +1,20 @@
|
||||||
|
|
||||||
# Script for running zeronet-conservancy in Termux on Android
|
# Script for running zeronet-conservancy in Termux on Android
|
||||||
|
|
||||||
|
if [[ -d zeronet-conservancy ]]; then
|
||||||
|
cd zeronet-conservancy
|
||||||
|
git pull --ff-only
|
||||||
|
else
|
||||||
git clone https://github.com/zeronet-conservancy/zeronet-conservancy
|
git clone https://github.com/zeronet-conservancy/zeronet-conservancy
|
||||||
cd zeronet-conservancy
|
cd zeronet-conservancy
|
||||||
pkg update
|
fi
|
||||||
pkg install python automake git binutils tor
|
|
||||||
|
pkg update -y
|
||||||
|
pkg install -y python automake git binutils tor
|
||||||
|
|
||||||
|
echo "Starting tor..."
|
||||||
tor --ControlPort 9051 --CookieAuthentication 1 >/dev/null &
|
tor --ControlPort 9051 --CookieAuthentication 1 >/dev/null &
|
||||||
|
|
||||||
|
echo "Starting zeronet-conservancy..."
|
||||||
./start-venv.sh
|
./start-venv.sh
|
||||||
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue