pkgsrc/emulators/suse131_gtk2/DEINSTALL
wiz 799621207f Add shared-mime-info rpm to gtk2 emulation package. This matches
what suse121_gtk2 does and fixes the first part of PR 48666, as
Nicolas Joly found out.

Run update-mime-database in INSTALL, and add an appropriate cleanup
rule to DEINSTALL.

Bump PKGREVISION.
2015-04-09 10:40:12 +00:00

23 lines
1 KiB
Text

# $NetBSD: DEINSTALL,v 1.2 2015/04/09 10:40:12 wiz Exp $
#
# 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
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
${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