ClickHouse/debian/clickhouse-client.postinst
proller f1f1f09500
Debian: temporary keep packages with old names (#2186)
* cmake fixes

* Fix test server config

* Debian: temporary keep packages with old names

* fix

* fix

* Debian postinst: adjustable user
2018-04-06 13:49:42 -07:00

10 lines
208 B
Bash

#!/bin/sh
set -e
CLICKHOUSE_USER=${CLICKHOUSE_USER=clickhouse}
mkdir -p /etc/clickhouse-client/conf.d
# user created by clickhouse-server package
chown -R ${CLICKHOUSE_USER} /etc/clickhouse-client || true