-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
98 lines (98 loc) · 4.63 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
# Base command (termux only!): pkg install python && apt upgrade && apt install && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py
echo "Welcome to SMSBomberPRO setup! Bomber by: temirovazat. Setup script by: fsvk74.
PS3='Select your distro: '
options=("Debian-based" "RPM-based" "Arch-based" "Slackware-based" "SuSE-based" "Gentoo-based" "Vo!d-based" "Alpine-based" "FreeBSD-based" "Termux" "Exit")
select opt in "${options[@]}"
do
case $opt in
"Debian-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo apt install python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"RPM-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo dnf install python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Arch-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo pacman -Sy python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Slackware-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"SuSE-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo zypper in python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Gentoo-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo emerge -av python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Vo!d-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo xbps-install -S python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Alpine-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo apk add python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"FreeBSD-based")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) sudo pkg install python3 && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;
"Termux")
echo "Do you have python3 installed?"
select yn in "Yes" "No"; do
case $yn in
Yes ) pip install --upgrade pip && pip install colorama && pip install requests && python pro.py; break;;
No ) pkg install python && apt upgrade && apt install && pip install --upgrade pip && pip install colorama && pip install requests && python pro.py;;
esac
done
;;