mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 23:04:27 +00:00
Fix regex syntax in matching os-release (#38010)
From https://github.com/zed-industries/zed/pull/37712#issuecomment-3281970712, thank you @zywo Release Notes: - N/A
This commit is contained in:
parent
a33af4e9c0
commit
46aa05e240
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ if [[ -n $apt ]]; then
|
|||
musl-dev
|
||||
build-essential
|
||||
)
|
||||
if (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+13|' /etc/os-release); then
|
||||
if (grep -qP 'PRETTY_NAME="(Debian|Raspbian).+13' /etc/os-release); then
|
||||
# libstdc++-14-dev is in build-essential
|
||||
deps+=( mold )
|
||||
elif (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue