#!/bin/sh
set -e

do_yav_deploy() {
    yav-deploy || /bin/true
}

case "$1" in
    configure)
        do_yav_deploy
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
