try to remove clickhouse if already exists

This commit is contained in:
Yakov Olkhovskiy 2022-11-26 13:45:28 -05:00 committed by GitHub
parent 080618a91e
commit ea58f05898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,9 @@
#!/bin/sh -e
if [ -f "clickhouse" ]; then
rm --interactive=never clickhouse || { echo "clickhouse already exists and I'm not able to remove it :("; exit 1; }
fi
OS=$(uname -s)
ARCH=$(uname -m)