openbsd-ports/x11/gnome/vfs2/pkg/DEINSTALL
marcm d7ffacf681 Update to Gnome 2.4.0.
Release notes available at: http://www.gnome.org/start/2.4/notes/

Please note that x11/gnome/bonobo-activation is now part of libbonobo
2003-10-07 05:48:53 +00:00

62 lines
1.4 KiB
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.4 2003/10/07 05:48:56 marcm Exp $
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
FILES='
gnome-vfs-2.0/modules/default-modules.conf
gnome-vfs-2.0/modules/cdda-module.conf
gnome-vfs-2.0/vfolders/applications-all-users.vfolder-info
gnome-vfs-2.0/vfolders/favorites.vfolder-info
gnome-vfs-2.0/vfolders/network.vfolder-info
gnome-vfs-2.0/vfolders/preferences-all-users.vfolder-info
gnome-vfs-2.0/vfolders/server-settings.vfolder-info
gnome-vfs-2.0/vfolders/start-here.vfolder-info
gnome-vfs-2.0/vfolders/system-settings.vfolder-info
'
do_notice()
{
echo
echo "+--------------- $1"
echo "| To really remove $1 from your system you should also"
echo "| remove the configuration files from the ${CONFDIR} directory."
echo "| Remove the directories in which the files reside as well if empty."
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave it as it is."
echo "|"
echo "| FYI, the following configuration files belongs to this package:"
echo "|"
for f in ${FILES}; do
echo "| ${CONFDIR}/$f"
done
echo "+--------------- $1"
echo
}
# Verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname DEINSTALL" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
DEINSTALL)
if [ "$PKG_DELETE_EXTRA" != Yes ]; then
do_notice "$1"
fi
;;
*)
echo "usage: $0 distname DEINSTALL" >&2
exit 1
;;
esac
exit 0