mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-04-28 03:19:27 +00:00
Merge pull request #2 from StevenVanAcker/master
fixed and simplified ubuntu version comparison
This commit is contained in:
commit
56f2a69cbc
1 changed files with 2 additions and 2 deletions
|
|
@ -7,11 +7,11 @@
|
|||
##########################################################
|
||||
|
||||
# Installing compilation dependencies
|
||||
sudo apt install -y bc autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev git dpkg-dev debhelper libssl-dev cmake build-essential wget
|
||||
sudo apt install -y autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev git dpkg-dev debhelper libssl-dev cmake build-essential wget
|
||||
|
||||
# Installing HD driver 4.1.0 (Ubuntu 22.04) or 4.6* (Ubuntu 24.04) & t ols from Ubuntu package manager
|
||||
ubuntu_version=$(lsb_release -rs)
|
||||
if (( $(echo "$ubuntu_version < 24.04" | bc -l) )); then
|
||||
if [ "$ubuntu_version" "<" "24.04" ]; then
|
||||
sudo apt install -y libuhd4.1.0 libzmq3-dev
|
||||
else
|
||||
sudo apt install -y libuhd4.6.0t64 cppzmq-dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue