You've already forked mariadb-columnstore-engine
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:
@ -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
|
||||
|
Reference in New Issue
Block a user