We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6adcbf8 + 178244d commit 50bddcdCopy full SHA for 50bddcd
1 file changed
bookman
@@ -85,6 +85,17 @@ do
85
done
86
shift $(($OPTIND - 1))
87
88
+# Check for dependencies
89
+ groff -ms /dev/null || {
90
+ printf "ERROR: You need install groff.\n" >&2
91
+ exit 1
92
+ }
93
+
94
+ps2pdf 2>&1 | grep -q Usage || {
95
+ printf "ERROR: You need install ghostscript.\n" >&2
96
97
98
99
# Compatibility wrapper for BSD/GNU date, for parsing dates
100
if date -j >/dev/null 2>&1; then
101
pdate() { date -u -j -f '@%s' "$@"; }
0 commit comments