-
Notifications
You must be signed in to change notification settings - Fork 9
/
install.sh
17 lines (11 loc) · 1.07 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#Author: github.com/thelinuxchoice
#Edited & Uploaded By: kNIGHT(github.com/cyberknight777)
#Instagram: @thelinuxchoice
#Instagram: @cyb3r_kn1ght_0ff1c1al
trap 'echo exiting cleanly...; exit 1;' SIGINT SIGTSTP
apt install figlet toilet openssh tor curl -y
(trap '' SIGINT SIGTSTP && command -v tor > /dev/null 2>&1 || { printf >&2 "\e[1;92mInstalling TOR, please wait...\n\e[0m"; apt-get update > /dev/null && apt-get -y install tor > /dev/null || printf "\e[1;91mTor Not installed.\n\e[0m"; }) & wait $!
(trap '' SIGINT SIGTSTP && command -v openssl > /dev/null 2>&1 || { printf >&2 "\e[1;92mInstalling openssl, please wait...\n\e[0m"; apt-get update > /dev/null && apt-get -y install openssl > /dev/null || printf "\e[1;91mOpenssl Not installed.\n\e[0m"; }) & wait $!
(trap '' SIGINT SIGTSTP && command -v curl > /dev/null 2>&1 || { printf >&2 "\e[1;92mInstalling cURL, please wait...\n\e[0m"; apt-get update > /dev/null && apt-get -y install curl > /dev/null || printf "\e[1;91mCurl Not installed.\n\e[0m"; }) & wait $!
printf "\e[1;92mAll Requires are installed!\n\e[0m"