#!/bin/bash
#echo "Make sure you are running this script with the required permission to write to you oo directory."
#echo "Where is you main OpenOffice install?"
#read -p ": " location


if gdialog --title "Installing OpenOffice.org Icons" --yesno "This script will replace the default OpenOffice.org Icons. Make sure you are running this script with required permissions to do so. Do you wish to continue?" 400 100
				then

location=`gdialog --title "Installing OpenOffice.org Icons" --inputbox "OpenOffice.org main install Location: " 200 100 "" 2>&1`

cp -f *.png $location/share/icons

gdialog --title "Done" --infobox "You have installed the OpenOffice.org Icons. You may need to logout of GNOME or KDE for changes to take effect." 400 100

echo "Done"

			fi