diff options
Diffstat (limited to 'devel/desktop-file-utils/files/pkg-deinstall.in')
-rw-r--r-- | devel/desktop-file-utils/files/pkg-deinstall.in | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/devel/desktop-file-utils/files/pkg-deinstall.in b/devel/desktop-file-utils/files/pkg-deinstall.in deleted file mode 100644 index dc9fbc711..000000000 --- a/devel/desktop-file-utils/files/pkg-deinstall.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/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 - -for pmdir in $(echo %%RMDIRS%% | sort -r); do - rmdir ${pmdir} 2>/dev/null -done - -exit 0 |