1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-09 10:41:14 +03:00
Files
mariadb-columnstore-engine/build/preUn_platform.sh
benthompson15 95f0caaf63 Merge pull request #1007 from LinuxJedi/MCOL-3707
MCOL-3707 Packaging pre/post functions
2020-02-28 13:58:16 -05:00

18 lines
214 B
Bash

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