mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 19:14:14 +01:00
Refactor
This commit is contained in:
parent
23676ab3b3
commit
8cd57a612d
@ -11,15 +11,15 @@ build_and_install() {
|
||||
}
|
||||
|
||||
install_build_dependencies() {
|
||||
ensure_libjpeg_is_fast
|
||||
|
||||
if [ "$DISTRO" = centos ]; then
|
||||
yum install -y cmake gcc
|
||||
ensure_libjpeg_is_fast
|
||||
return
|
||||
fi
|
||||
|
||||
apt-get update
|
||||
apt-get install -y cmake gcc
|
||||
ensure_libjpeg_is_fast
|
||||
}
|
||||
|
||||
ensure_libjpeg_is_fast() {
|
||||
@ -28,6 +28,7 @@ ensure_libjpeg_is_fast() {
|
||||
return
|
||||
fi
|
||||
|
||||
apt-get update
|
||||
apt-get install -y nasm
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user