gnome-cleanup revision 16973
if [ -z "$LOGNAME" ]; then
if [ ! -d "$USRHOME" ]; then
echo "\nError: user <$LOGNAME> does not exist on this system.\n"
rc=$?
echo "\nError getting user process information for user <$LOGNAME>...\n"
if [ ! -z "$RUNNING_PROCESSES" ]; then
echo "\nThe following GNOME processes are still running for user <$LOGNAME>:\n"
echo "$RUNNING_PROCESSES"
echo "\nPlease log out user <$LOGNAME> from GNOME, so this user has no"
# GNOME 2.x files
gnome_files="$USRHOME/.dbus $USRHOME/.gconf $USRHOME/.gconfd $USRHOME/.gnome $USRHOME/.gnome-desktop $USRHOME/.gnome2 $USRHOME/.gnome2_private $USRHOME/.metacity $USRHOME/.nautilus $USRHOME/.esd_auth $USRHOME/.gtkrc $USRHOME/.gtkrc-1.2-gnome2 $USRHOME/.nautilus-metafile.xml $USRHOME/.gstreamer-0.10/registry.* $USRHOME/.local/share $USRHOME/.config"
gnome_14_files="$USRHOME/.gnome-help-browser $USRHOME/.gnome_private $USRHOME/.thumbnails $USRHOME/Nautilus"
if [ ! -x "$check_files" ]
if [ ! -x "$check_files" ]
if [ ! -z "$has_files" ]
echo "\nUser <$LOGNAME> currently has the following GNOME configuration files:"
echo "$disp_files"
read input;
rc=$?
echo "\n$tarfile"
echo "report a bug at http://defect.opensolaris.org/."
echo "\nUser $LOGNAME does not have any GNOME configuration files.\n"