mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 07:19:16 -04:00
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]
17 lines
242 B
Bash
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
|