eris/install-dependencies
Andrew Hamilton 915eac35ba tools: Changed to toml instead of yaml.
- toml is simpler than yaml and popular enough.
2018-05-17 16:16:21 +10:00

20 lines
535 B
Bash
Executable file

#!/bin/bash
# Copyright (C) 2018 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0.
set -e
DIST_ID=$(cat /etc/os-release | grep "^ID=" | cut -d "=" -f 2)
if [ $DIST_ID != "ubuntu" ]; then
echo "Vigil can only be installed on Ubuntu."
exit 1
fi
echo "Installing the dependencies of the vigil script..."
sudo apt --yes install python3-pyinotify python3-pygments python3-docopt \
python3-pillow util-linux python3-toml
echo
echo "Installing all the tools vigil may need..."
./install-tools