mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Better check for OS in miscellaneous CI scripts
This commit is contained in:
parent
9ea05b2401
commit
34e82485b2
@ -7,9 +7,9 @@ WHAT=$1
|
||||
|
||||
[[ $EUID -ne 0 ]] && SUDO=sudo
|
||||
|
||||
command -v apt-get && PACKAGE_MANAGER=apt
|
||||
command -v yum && PACKAGE_MANAGER=yum
|
||||
command -v pkg && PACKAGE_MANAGER=pkg
|
||||
command -v apt-get && PACKAGE_MANAGER=apt
|
||||
|
||||
|
||||
case $PACKAGE_MANAGER in
|
||||
|
Loading…
Reference in New Issue
Block a user