diff --git a/script/linux b/script/linux index 650c1cfbbb410..d599d9cce7934 100755 --- a/script/linux +++ b/script/linux @@ -46,7 +46,7 @@ if [[ -n $apt ]]; then musl-tools musl-dev ) - if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.04)' /etc/os-release); then + if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then deps+=( mold libstdc++-14-dev ) elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+12|Linux Mint 21|.+22\.04)' /etc/os-release); then deps+=( mold libstdc++-12-dev )