-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
30 lines (25 loc) · 822 Bytes
/
install.sh
File metadata and controls
30 lines (25 loc) · 822 Bytes
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
#!/bin/bash
echo "
____ _ _
___ _ __ / ___|___ _ __ | |_ _ __ ___ | | _ __ _ _
/ _ \ '_ \| | / _ \| '_ \| __| '__/ _ \| | | '_ \| | | |
| __/ | | | |__| (_) | | | | |_| | | (_) | |_| |_) | |_| |
\___|_| |_|\____\___/|_| |_|\__|_| \___/|_(_) .__/ \__, |
Install script |_| |___/
"
debian_install() {
sudo apt update && sudo apt upgrade -y
sudo apt install git python pip redis-server
}
python_setup() {
git clone https://github.com/ragebflame/enControl
cd enControl && sudo pip install -r requirements.txt
echo "Installation complete!"
}
if grep -qEi 'debian|ubuntu|mint' /etc/*release
then
debian_install
python_setup
else
echo "Only Debian based distros are supported at the moment."
fi