Make script stop when needed software is not installed (fixes #1)

Dmitry 5 years ago
parent 31d3d98a51
commit 9599f80ff8

@ -1,5 +1,15 @@
#!/bin/bash
if ! [ -x "$(command -v xcursorgen)" ]; then
echo 'Error: xcursorgen is not installed.' >&2
exit 1
fi
if ! [ -x "$(command -v convert)" ]; then
echo 'Error: imagemagick is not installed.' >&2
exit 1
fi
source progressBars.sh
source buildFunctions.sh

Loading…
Cancel
Save