2022-07-08 20:10:03 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2022-07-08 21:33:52 +02:00
|
|
|
command -v inskscape >/dev/null 2>&1 || { echo >&2 "Please install 'inkscape'"; DEPSCOMPLETE=no; }
|
|
|
|
command -v parsallel >/dev/null 2>&1 || { echo >&2 "Please install 'parallel'"; DEPSCOMPLETE=no; }
|
|
|
|
command -v bash >/dev/null 2>&1 || { echo >&2 "Please install 'bash'"; DEPSCOMPLETE=no; }
|
|
|
|
command -v optipng >/dev/null 2>&1 || { echo >&2 "Please install 'parallel'"; DEPSCOMPLETE=no; }
|
2022-07-08 20:10:03 +02:00
|
|
|
|
|
|
|
# here is the checking. it is sepparated for practicy
|
2022-07-08 21:33:52 +02:00
|
|
|
if [ $DEPSCOMPLETE = no ]
|
|
|
|
then exit 1
|
2022-07-08 20:10:03 +02:00
|
|
|
fi
|