diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-28 23:27:30 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-28 23:27:30 +0200 |
commit | 3781aa8e85b5f12dde6a3983af09150037e5f624 (patch) | |
tree | ca3c27a9a33d984faad577d8f2d2c767190134da /test.sh | |
parent | 69b939c707c38be9e1ca1e671560ff385729a2d0 (diff) | |
download | pdf-simple-sign-3781aa8e85b5f12dde6a3983af09150037e5f624.tar.gz pdf-simple-sign-3781aa8e85b5f12dde6a3983af09150037e5f624.tar.xz pdf-simple-sign-3781aa8e85b5f12dde6a3983af09150037e5f624.zip |
Don't fail tests when gropdf isn't installed
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -16,7 +16,10 @@ inkscape --pipe --export-filename=tmp/cairo.pdf --export-pdf-version=1.4 \ <svg xmlns="http://www.w3.org/2000/svg"><text x="5" y="10">Hello</text></svg> EOF -date | tee tmp/lowriter.txt | groff -T pdf > tmp/groff.pdf || : +date > tmp/lowriter.txt +if command -v gropdf >/dev/null +then groff -T pdf < tmp/lowriter.txt > tmp/groff.pdf +fi lowriter --convert-to pdf tmp/lowriter.txt --outdir tmp >/dev/null || : convert rose: tmp/imagemagick.pdf || : |