#!/bin/sh # # $FreeBSD$ # # Initialize the desktop directories and MIME cache. if [ "$2" != "POST-INSTALL" ]; then exit 0 fi for pmdir in %%PORT_MIMEDIRS%%; do mkdir -p ${pmdir} done ${PKG_PREFIX}/bin/update-desktop-database -q exit 0