#!/bin/sh case $2 in POST-INSTALL) for mdir in %%MIMEDIRS%%; do if [ -d ${mdir} ]; then %%PREFIX%%/bin/update-mime-database ${mdir} fi done exit 0 ;; esac