2015-12-26 20:52:39 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
2017-05-17 16:46:54 +01:00
|
|
|
DIST_ID=$(cat /etc/os-release | grep "^ID=" | cut -d "=" -f 2)
|
2017-09-01 22:07:22 +01:00
|
|
|
if [ $DIST_ID != "ubuntu" ]; then
|
2018-09-17 23:59:38 +10:00
|
|
|
echo "Eris can only be installed on Ubuntu."
|
2017-09-01 22:07:22 +01:00
|
|
|
exit 1
|
2017-05-17 16:46:54 +01:00
|
|
|
fi
|
2019-06-22 13:29:34 +10:00
|
|
|
echo "Installing the dependencies of the eris script…"
|
2020-04-24 23:47:12 +10:00
|
|
|
sudo apt --yes install python3-pip python3.8 util-linux python3-sortedcontainers
|
|
|
|
|
python3.8 -m pip install pyinotify pygments docopt pillow toml
|
2015-12-26 20:52:39 +00:00
|
|
|
echo
|
2019-06-22 13:29:34 +10:00
|
|
|
echo "Installing all the tools eris may need…"
|
2015-12-26 20:52:39 +00:00
|
|
|
./install-tools
|