2015-04-09 12:40:12 +02:00
# $NetBSD: DEINSTALL,v 1.2 2015/04/09 10:40:12 wiz Exp $
2013-12-05 12:42:12 +01:00
#
# Remove gtk/pango module configuration.
#
case ${STAGE} in
DEINSTALL)
GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/usr/bin"
GNOME_LIBDIR="${PKG_PREFIX}/@EMULSUBDIR@/usr/lib@ABISUFFIX@"
GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc"
${ECHO} "${PKGNAME}: removing GTK/Pango module configuration"
${RM} -f ${GNOME_LIBDIR}/gtk-2.0/2.10.0/gtk@ABISUFFIX@.immodules
${RM} -f ${GNOME_LIBDIR}/gdk-pixbuf-2.0/2.10.0/loaders.cache
${RM} -f ${GNOME_ETCDIR}/pango/pango@ABISUFFIX@.modules
${RM} -f ${GNOME_LIBDIR}/gio/modules/giomodule.cache
2015-04-09 12:40:12 +02:00
for i in application message text x-epoc multipart image audio inode x-content video model globs globs2 magic XMLnamespaces subclasses aliases types generic-icons icons treemagic version; do \
${RM} -rf ${GNOME_LIBDIR}/../share/mime/${i}; \
done
${RM} -f ${GNOME_LIBDIR}/../share/mime/mime.cache
2013-12-05 12:42:12 +01:00
${RM} -f ${PKG_PREFIX}/@EMULSUBDIR@/usr/share/glib-2.0/schemas/gschemas.compiled
${RM} -f ${PKG_PREFIX}/@EMULSUBDIR@/var/cache/gio-2.0/defaults.list
;;
esac