Use compare_versions for glibc

This commit is contained in:
2025-08-19 01:26:54 +05:00
parent fd9df57242
commit b3b76c799f

View File

@@ -5625,7 +5625,7 @@ gui_edit_db () {
[[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC" [[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC"
if ! check_flatpak \ if ! check_flatpak \
&& [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]] && ! compare_versions "$(ldd --version | head -n 1 | awk '{print $4}')" "2.38"
then then
DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN" DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN"
export PW_USE_LS_FRAME_GEN="0" export PW_USE_LS_FRAME_GEN="0"