#!/bin/sh

if [ "x$1" = "x-v" ]; then
    VERBOSE=true
fi

if [ "$VERBOSE" = "true" ]; then
    if [ -f "$VFONTMAP" ]; then
      echo -n "Regenerating $VFONTMAP... " >&2
    else
	echo -n "Generating $VFONTMAP... " >&2
    fi
fi

/usr/bin/defoma-app update xdvik-ja

if [ "$VERBOSE" = "true" ]; then
  echo "done"
fi
