Skip to content

Commit 4546668

Browse files
committed
fix: detect libfuse2t64 vs libfuse2 for Debian trixie compatibility
1 parent 5c4446d commit 4546668

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

linux.d/debian

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,20 @@ REQUIRED_DEV_PACKAGES=(
2525
libxkbcommon-dev
2626
libtool
2727
libunwind-dev
28-
libfuse2
2928
texinfo
3029
nasm
3130
yasm
3231
libx264-dev
3332
libbz2-dev
3433
)
3534

35+
# libfuse2 was renamed to libfuse2t64 in Debian Trixie (t64 transition)
36+
if apt-cache show libfuse2t64 &>/dev/null 2>&1; then
37+
REQUIRED_DEV_PACKAGES+=(libfuse2t64)
38+
else
39+
REQUIRED_DEV_PACKAGES+=(libfuse2)
40+
fi
41+
3642
if [[ -n "$UPDATE_LIB" ]]
3743
then
3844
REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.1-dev)

0 commit comments

Comments
 (0)