1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-520 - add in the mariadb upgrade code

This commit is contained in:
David Hill
2018-11-02 10:52:11 -05:00
parent 7f16ad644e
commit 3e17f0ce5b
5 changed files with 82 additions and 54 deletions

View File

@ -98,6 +98,14 @@ if [ $module = "um" ]; then
fi
fi
fi
#setup rc.local
RCFILE=/etc/rc.d/rc.local
if [ $user != "root" ]; then
echo "uncomment runuser in rc.local, amazon AMI"
sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1
fi
fi
#if pm, create dbroot directories
@ -168,19 +176,6 @@ if [ $user == "root" ]; then
fi
fi
#setup rc.local
if [ -f /etc/rc.d ]; then
RCFILE=/etc/rc.d/rc.local
else
RCFILE=/etc/rc.local
fi
touch $RCFILE
if [ $user != "root" ]; then
echo "uncomment runuser in rc.local, amazon AMI"
sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1
fi
echo "!!!Module Installation Successfully Completed!!!"
exit 0