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

MCOL-509 - changed to check user to determine non-root

This commit is contained in:
David Hill
2017-02-15 10:05:27 -06:00
parent cf7c18944f
commit 3ee6888506

View File

@ -79,7 +79,7 @@ for arg in "$@"; do
fi
done
if [ $installdir != "/usr/local/mariadb/columnstore" ]; then
if [ $USER != "root" ]; then
sudo ldconfig
export COLUMNSTORE_INSTALL_DIR=$installdir
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COLUMNSTORE_INSTALL_DIR/lib:$COLUMNSTORE_INSTALL_DIR/mysql/lib/mysql