Commit 1ec94a50 authored by Murthy Narkedimilli's avatar Murthy Narkedimilli

Changes to verify the solaris upgrade issue.

parent 98d2a1f2
...@@ -43,7 +43,8 @@ mystart=/etc/init.d/mysql ...@@ -43,7 +43,8 @@ mystart=/etc/init.d/mysql
# Check: Is this a first installation, or an upgrade ? # Check: Is this a first installation, or an upgrade ?
if [ -d "$mydatadir/mysql" ] ; then if [ -d "$mydatadir/mysql" ] ; then
: # If the directory for system table files exists, we assume an upgrade. # If the directory for system table files exists, we assume an upgrade.
INSTALL=upgrade
else else
INSTALL=new # This is a new installation, the directory will soon be created. INSTALL=new # This is a new installation, the directory will soon be created.
fi fi
...@@ -58,7 +59,7 @@ fi ...@@ -58,7 +59,7 @@ fi
chown -R $myuser:$mygroup $mydatadir chown -R $myuser:$mygroup $mydatadir
if [ -n "$INSTALL" ] ; then if [ "$INSTALL" -eq "new" ] ; then
# We install/update the system tables # We install/update the system tables
( (
cd "$mybasedir" cd "$mybasedir"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment