提交 73e5f828 编写于 作者: V Vitaliy Lyudvichenko

Fixed debian build install.

上级 bfbe8f8e
......@@ -20,7 +20,7 @@ INSTALL(TARGETS clickhouse RUNTIME DESTINATION bin COMPONENT clickhouse)
# make symbolic links to concrete clickhouse applications
macro(install_symlink_to_clickhouse app)
INSTALL(CODE "execute_process(COMMAND ln -sf clickhouse ${app} WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin\" )" COMPONENT ${app})
endmacro(make_symlink_to_clickhouse)
endmacro(install_symlink_to_clickhouse)
install_symlink_to_clickhouse(clickhouse-server)
install_symlink_to_clickhouse(clickhouse-client)
......
/usr/bin/clickhouse
/usr/bin/clickhouse-server
/etc/cron.d/clickhouse-server
/etc/security/limits.d/metrika.conf
......
......@@ -39,10 +39,13 @@ function make_control {
add_daemon_impl clickhouse-server-common "clickhouse-server-base(=1.1.$REVISION)" 'Common configuration files for clickhouse-server-base package'
;;
'clickhouse-client' )
add_daemon_impl clickhouse-client
add_daemon_impl clickhouse-client "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse client"
;;
'clickhouse-benchmark' )
add_daemon_impl clickhouse-benchmark
add_daemon_impl clickhouse-benchmark "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse benchmark tool"
;;
'clickhouse-local' )
add_daemon_impl clickhouse-local "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse local server application"
;;
* )
add_daemon_impl "${DAEMON_PKG}-metrika-yandex"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册