Fix checking for inkscape binary.
authorCarl Hetherington <cth@carlh.net>
Mon, 7 Jun 2021 11:19:03 +0000 (13:19 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 7 Jun 2021 11:21:10 +0000 (13:21 +0200)
graphics/update

index cea8fd2..464a3a0 100755 (executable)
@@ -36,14 +36,14 @@ if [ `uname -s` == "Darwin" ]; then
 else
     required_font "Libre Baskerville"
 
-    for c in icotool convert inkscape inkbatch; do
+    INKSCAPE="$HOME/Applications/inkscape"
+    for c in icotool convert inkbatch $INKSCAPE; do
         if [ ! -x "$(command -v $c)" ]; then
             echo "$c is required"
             exit 1
         fi
     done
 
-    INKSCAPE="$HOME/Applications/inkscape -C --export-type=png"
 
     # OS X application icons
     mkdir -p osx