New inkscape; treat missing font errors better. v2.15.138
authorCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 00:26:03 +0000 (02:26 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 00:26:03 +0000 (02:26 +0200)
graphics/update

index 0628a7c8b4ce5ee1a79d8528dd8c505412ec1176..cea8fd2249e7c090d19c14476f335ca864ad8012 100755 (executable)
@@ -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