mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
17 lines
364 B
Bash
17 lines
364 B
Bash
#!/bin/sh -e
|
|
|
|
test -f /usr/share/debconf/confmodule && . /usr/share/debconf/confmodule
|
|
|
|
db_fget clickhouse-server/default-password seen || true
|
|
password_seen="$RET"
|
|
|
|
if [ "$1" = "reconfigure" ]; then
|
|
password_seen=false
|
|
fi
|
|
|
|
if [ "$password_seen" != "true" ]; then
|
|
db_input high clickhouse-server/default-password || true
|
|
db_go || true
|
|
fi
|
|
db_go || true
|