Skip to content

Commit 78164ca

Browse files
committed
CI: fix ubuntu 26.04 bug
1 parent f420a26 commit 78164ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Script/build_depend.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,11 @@ if [ $BASE_LIBS -eq 1 ]; then
546546
libxcb-xinerama0-dev libxcb-composite0-dev libxcomposite-dev \
547547
libxinerama-dev libxcb1-dev libx11-xcb-dev libxcb-xfixes0-dev \
548548
libxcb-cursor-dev libxcb-xkb-dev libxcb-keysyms1-dev \
549-
libxcb-* libxcb-cursor0 xserver-xorg-input-mouse xserver-xorg-input-kbd \
549+
libxcb-* libxcb-cursor0 xserver-xorg-input-mouse \
550550
libxkbcommon-dev
551+
if ! [[ "$DISTRO_VERSION" =~ "26.*" ]]; then
552+
package_install xserver-xorg-input-kbd
553+
fi
551554
# Base dependency
552555
package_install liblzo2-dev libssl-dev libcrypt-dev libicu-dev zlib1g-dev libtelnet-dev
553556
# RabbitCommon dependency

0 commit comments

Comments
 (0)