diff options
Diffstat (limited to 'emulators/suse91_gtk2/DEINSTALL')
-rw-r--r-- | emulators/suse91_gtk2/DEINSTALL | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/suse91_gtk2/DEINSTALL b/emulators/suse91_gtk2/DEINSTALL new file mode 100644 index 00000000000..874b63b2b8f --- /dev/null +++ b/emulators/suse91_gtk2/DEINSTALL @@ -0,0 +1,24 @@ +# $NetBSD: DEINSTALL,v 1.1.1.1 2004/09/02 20:34:08 recht Exp $ +# +# Remove gtk/pango module configuration. +# + +case ${STAGE} in + POST-DEINSTALL) + if [ -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules ] ; then + ${RM} -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules + fi + + if [ -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders ] ; then + ${RM} -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders + fi + + if [ -f @EMULDIR@/etc/opt/gnome/pango/pango.modules ] ; then + ${RM} -f @EMULDIR@/etc/opt/gnome/pango/pango.modules + fi + + test -d @EMULDIR@/etc/opt/gnome/gtk-2.0 && ${RMDIR} @EMULDIR@/etc/opt/gnome/gtk-2.0 + ;; + *) + ;; +esac |