Skip to content

Commit

Permalink
stop execution if exit code is not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdhrumilmistry authored Jan 3, 2022
1 parent 2e8f0bd commit 75b076f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash

echo -e "\033[33m[*] Starting installation...\033[0m";apt update -y && apt upgrade -y;apt install python git nmap openssh termux-auth termux-api -y;pip install git+https://github.com/dmdhrumilmistry/Termux-SSH.git;echo "\033[33m[*] Completed... Start Termux-SSH using python -m termux_ssh and use install command to complete setup.\033[0m";
echo -e "\033[33m[*] Starting installation...\033[0m"
apt update -y && apt upgrade -y
apt install python git nmap openssh termux-auth termux-api -y
pip install git+https://github.com/dmdhrumilmistry/Termux-SSH.git
echo -e "\033[33m[*] Completed... Start Termux-SSH using python -m termux_ssh and use install command to complete setup.\033[0m";

0 comments on commit 75b076f

Please sign in to comment.