#!/bin/bash

# exit this script if any error occurs
set -e

# check if gnuplot is in the env
type -p gnuplot > /dev/null \
  && echo "Congratulations! Task solved correctly." \
  || echo "ERROR: No gnuplot on PATH available!"

# exit the script with zero exit code
exit 0
