#!/bin/sh set -e if [ "$1" = "configure" ] && [ -x "`which update-mime 2> /dev/null`" ]; then update-mime fi