From 8cd5b3c968b1dd0052ed78f4674b5b1e7ce14c05 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 5 Apr 2021 02:26:03 +0200 Subject: New inkscape; treat missing font errors better. --- graphics/update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphics/update b/graphics/update index 0628a7c8b..cea8fd224 100755 --- a/graphics/update +++ b/graphics/update @@ -16,7 +16,9 @@ fi function required_font() { + set +e check=$(fc-list | grep "$1") + set -e if [ "$check" == "" ]; then echo "Missing font $1" exit 1 @@ -41,7 +43,7 @@ else fi done - INKSCAPE="inkscape -C --export-type=png" + INKSCAPE="$HOME/Applications/inkscape -C --export-type=png" # OS X application icons mkdir -p osx -- cgit v1.2.3