ports/devel/desktop-file-utils/files/pkg-deinstall.in
Koop Mast fb6f8ffcaf remove custom code for deleting share/applications now that it is in
BSD.local.dist, and stageify [1].

Bump portrevision so redports/QAT picks up the change.

Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (based on) [1]
2013-10-25 08:46:56 +00:00

17 lines
242 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Remove leftover mimeinfo.cache files.
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
for mdir in %%MIMEDIRS%%; do
if [ -f ${mdir}/mimeinfo.cache ]; then
rm -f ${mdir}/mimeinfo.cache
fi
done
exit 0