Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix script/linux for Linux Mint (#19096)

Peter Tripp3cbaa08d89ce
diff --git a/script/linux b/script/linux
index c69cd5a842e..87841f80f19 100755
--- a/script/linux
+++ b/script/linux
@@ -43,11 +43,11 @@ if [[ -n $apt ]]; then
elfutils
libsqlite3-dev
)
- if (grep -qP 'PRETTY_NAME="(.+24\.04)' /etc/os-release); then
+ if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.04)' /etc/os-release); then
deps+=( mold libstdc++-14-dev )
- elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+12|.+22\.04)' /etc/os-release); then
+ elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+12|Linux Mint 21|.+22\.04)' /etc/os-release); then
deps+=( mold libstdc++-12-dev )
- elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+11|.+20\.04)' /etc/os-release); then
+ elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+11|Linux Mint 20|.+20\.04)' /etc/os-release); then
deps+=( libstdc++-10-dev )
fi