From: Patrick Donnelly Date: Wed, 8 Jan 2025 14:53:26 +0000 (-0500) Subject: install-deps: unconditionally install boost libraries X-Git-Tag: testing/wip-pdonnell-testing-20250227.191159-debug^2~23 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=668a556322d8767b3e9e82230f099bcd9211f576;p=ceph-ci.git install-deps: unconditionally install boost libraries If we add a new Boost component, the install-deps.sh script will not install it because other Boost libraries are installed with the desired version. Just unconditionally install. The package manager is smart enough to skip already installed packages. Signed-off-by: Patrick Donnelly --- diff --git a/install-deps.sh b/install-deps.sh index 3cd705068d0..75d8a0407fd 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -191,11 +191,6 @@ function install_boost_on_ubuntu { grep -e 'libboost[0-9].[0-9]\+-dev' | cut -d' ' -f2 | cut -d'.' -f1,2) - if test -n "$installed_ver"; then - if echo "$installed_ver" | grep -q "^$boost_ver"; then - return - fi - fi local codename=$1 local project=libboost local sha1=55f34507d322314fb0294629b7c0bb406de07aec