summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-05 02:26:03 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-05 02:26:03 +0200
commit8cd5b3c968b1dd0052ed78f4674b5b1e7ce14c05 (patch)
treebca0000c1163d3822a9009589053929e50d4d23a
parent6c5be34725639c88bc59139748229202cdefe7af (diff)
New inkscape; treat missing font errors better.v2.15.138
-rwxr-xr-xgraphics/update4
1 files changed, 3 insertions, 1 deletions
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