Minor changes to install script

This commit is contained in:
Alexey Milovidov 2021-10-17 05:52:00 +03:00
parent 4f11cfa59d
commit 0285a15aec

View File

@ -47,13 +47,17 @@ then
fi fi
URL="https://builds.clickhouse.com/master/${DIR}/clickhouse" URL="https://builds.clickhouse.com/master/${DIR}/clickhouse"
echo
echo "Will download ${URL}" echo "Will download ${URL}"
echo
curl -O "${URL}" && chmod a+x clickhouse && curl -O "${URL}" && chmod a+x clickhouse &&
echo
echo "Successfully downloaded the ClickHouse binary, you can run it as: echo "Successfully downloaded the ClickHouse binary, you can run it as:
./clickhouse" ./clickhouse"
if [ "${OS}" = "Linux" ] if [ "${OS}" = "Linux" ]
then then
echo
echo "You can also install it: echo "You can also install it:
sudo ./clickhouse install" sudo ./clickhouse install"
fi fi