Comment #2 by harry.chen:
(No comment was entered for this change.)
Issue attribute updates:
Status: Fixed
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #3 by harry.chen:
Based on rick's suggestion (may 29, 08),
http://code.google.com/p/gnizr/wiki/SetupGnizrDatabase
I modified his script and added the following:
rows=`mysql -u $USER -p${PASS} -e "show tables" $DB |wc -l`
if [ $rows -gt 0 ]
then echo "Looks like the gnizr has already been installed."
echo "Enter YES to continue (ALL EXISTING DATA WILL BE LOST!): "
read input
if [ "$input" != "YES" ]
then echo "Quit! No changes are made."
exit 1
fi
fi