Skip to content

Commit 6aa194d

Browse files
committed
Fix support for couchbase on Ubuntu 24.04
1 parent a0edbac commit 6aa194d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/extensions/couchbase.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ add_couchbase_clibs() {
77
else
88
release=$(get -s -n "" "$trunk"/latest | grep -Eo -m 1 "[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)
99
fi
10-
[ "$VERSION_ID" = "22.04" ] && vid=20.04 || vid="$VERSION_ID"
11-
[ "$VERSION_CODENAME" = "jammy" ] && vcn=focal || vcn="$VERSION_CODENAME"
10+
[ "$VERSION_ID" = "24.04" ] && vid=22.04 || vid="$VERSION_ID"
11+
[ "$VERSION_CODENAME" = "noble" ] && vcn=jammy || vcn="$VERSION_CODENAME"
1212
deb_url="$trunk/download/$release/libcouchbase-${release}_ubuntu${vid/./}_${vcn}_amd64.tar"
1313
get -q -n /tmp/libcouchbase.tar "$deb_url"
1414
sudo tar -xf /tmp/libcouchbase.tar -C /tmp

0 commit comments

Comments
 (0)