1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-3991 MCS is now single package and properly uninstalls

This commit is contained in:
Jose
2020-05-12 02:58:39 +00:00
committed by root
parent 8e9f4c2719
commit 98abf95eae
79 changed files with 147 additions and 182 deletions

View File

@ -1,8 +0,0 @@
rpmmode=install
if [ "$1" -eq "$1" 2> /dev/null ]; then
if [ $1 -ne 1 ]; then
rpmmode=upgrade
fi
fi

View File

@ -1,10 +0,0 @@
rpmmode=install
if [ "$1" -eq "$1" 2> /dev/null ]; then
if [ $1 -ne 1 ]; then
rpmmode=upgrade
fi
fi
mkdir -p /var/lib/columnstore/local
columnstore-post-install --rpmmode=$rpmmode

View File

@ -4,3 +4,7 @@ if [ "$1" -eq "$1" 2> /dev/null ]; then
rpmmode=upgrade
fi
fi
mkdir -p /var/lib/columnstore/local
columnstore-post-install --rpmmode=$rpmmode

View File

@ -1,11 +0,0 @@
rpmmode=upgrade
if [ "$1" -eq "$1" 2> /dev/null ]; then
if [ $1 -ne 1 ]; then
rpmmode=erase
fi
else
rpmmode=erase
fi
exit 0

View File

@ -1,17 +0,0 @@
mcsadmin shutdown y
rpmmode=upgrade
if [ "$1" -eq "$1" 2> /dev/null ]; then
if [ $1 -ne 1 ]; then
rpmmode=erase
fi
else
rpmmode=erase
fi
if [ $rpmmode = erase ]; then
columnstore-pre-uninstall
fi
exit 0

View File

@ -1,3 +1,5 @@
mcsadmin shutdown y
rpmmode=upgrade
if [ "$1" -eq "$1" 2> /dev/null ]; then
if [ $1 -ne 1 ]; then
@ -7,5 +9,9 @@ else
rpmmode=erase
fi
if [ $rpmmode = erase ]; then
columnstore-pre-uninstall
fi
exit 0