This is a Gitlab for NZOSS Members

Unverified Commit 84eace36 authored by Tim McNamara's avatar Tim McNamara
Browse files

Include gnuplot terminal dependencies in setup.sh

parent bcd88404
......@@ -41,6 +41,15 @@ install-rsync() {
sudo apt install -y rsync
}
install-dpkg() {
local pkg=$( dpkg -s "$1" | grep "Status: install ok installed" )
if [ -n "$pkg" ]; then
return 0
fi
sudo apt install "$1"
}
install-gnuplot() {
# TODO: check minimum required version
local cmd=$( command -v gnuplot )
......@@ -71,4 +80,7 @@ install-just
install-make
install-ssh
install-rsync
install-gnuplot
\ No newline at end of file
install-gnuplot
install-dpkg libcairo2-dev
install-dpkg libfreetype-dev
install-dpkg libgd-dev
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment