mirror of
https://gitlab.com/ykkzde/posy-cursors
synced 2024-10-27 20:44:10 +00:00
Make script stop when needed software is not installed (fixes #1)
This commit is contained in:
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…
Reference in New Issue
Block a user