eris/install-dependencies

21 lines
535 B
Text
Raw Normal View History

2015-12-26 20:52:39 +00:00
#!/bin/bash
2018-01-12 15:00:39 +10:00
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
2017-06-01 01:03:39 +01:00
# Licensed under the Artistic License 2.0.
2015-12-26 20:52:39 +00:00
set -e
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
echo "Vigil can only be installed on Ubuntu."
exit 1
fi
echo "Installing the dependencies of the vigil script..."
2017-09-01 22:07:22 +01:00
sudo apt --yes install python3-pyinotify python3-pygments python3-docopt \
python3-pillow util-linux python3-toml
2015-12-26 20:52:39 +00:00
echo
echo "Installing all the tools vigil may need..."
2015-12-26 20:52:39 +00:00
./install-tools