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 cea8fd2249e7c090d19c14476f335ca864ad8012..464a3a068b0b6a2cc819b7c1a5b0bf4c92d018fb 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