aboutsummaryrefslogtreecommitdiffstats
path: root/check-requirements
blob: ffd2e1f9df82009229ff5c6f021443482f019c95 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

echo -n "pbmtojbg     [REQUIRED] : "; [ -x "$(which pbmtojbg)" ]            && echo "Yes, version: $(pbmtojbg --help 2>&1 | head -1)" || echo "No"
echo -n "identify     [REQUIRED] : "; [ -x "$(which identify)" ]            && echo "Yes, version: $(identify -help | head -1)" || echo "No"
echo -n "Ghostscript  [REQUIRED] : "; [ -x "$(which gs)" ]                  && echo "Yes, version: $(gs --version)" || echo "No"
echo -n "ps2write     [REQUIRED] : "; [ -n "$(gs --help | grep ps2write)" ] && echo "Yes" || echo "No"
echo -n "pbmraw       [REQUIRED] : "; [ -n "$(gs --help | grep pbmraw)" ]   && echo "Yes" || echo "No"
echo -n "inotify-wait [optional] : "; [ -x "$(which inotifywait)" ]         && echo "Yes, version: $(inotifywait --help | head -1)" || echo "No"