mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
fix: linux mint os selection (#397)
This commit is contained in:
parent
7f11fcbe90
commit
be131a5560
@ -53,7 +53,7 @@ function _tide_detect_os_linux_cases -a file key
|
||||
printf %s\n FFFFFF 262F45 # https://wiki.mageia.org/en/Artwork_guidelines
|
||||
case manjaro
|
||||
printf %s\n FFFFFF 35BF5C # from https://gitlab.manjaro.org/artwork/branding/logo/-/blob/master/logo.svg
|
||||
case mint
|
||||
case mint linuxmint
|
||||
printf %s\n FFFFFF 69B53F # extracted from https://linuxmint.com/web/img/favicon.ico
|
||||
case nixos
|
||||
printf %s\n FFFFFF 5277C3 # https://github.com/NixOS/nixos-artwork/tree/master/logo
|
||||
|
@ -32,3 +32,8 @@ _detect_os_linux_cases opensuse-etc-release
|
||||
# CHECK:
|
||||
# CHECK: 73BA25
|
||||
# CHECK: 173f4f
|
||||
|
||||
_detect_os_linux_cases linuxmint-etc-release
|
||||
# CHECK:
|
||||
# CHECK: FFFFFF
|
||||
# CHECK: 69B53F
|
||||
|
12
tests/detect_os/linuxmint-etc-release
Normal file
12
tests/detect_os/linuxmint-etc-release
Normal file
@ -0,0 +1,12 @@
|
||||
NAME="Linux Mint"
|
||||
VERSION="20.3 (Una)"
|
||||
ID=linuxmint
|
||||
ID_LIKE=ubuntu
|
||||
PRETTY_NAME="Linux Mint 20.3"
|
||||
VERSION_ID="20.3"
|
||||
HOME_URL="https://www.linuxmint.com/"
|
||||
SUPPORT_URL="https://forums.linuxmint.com/"
|
||||
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
|
||||
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
|
||||
VERSION_CODENAME=una
|
||||
UBUNTU_CODENAME=focal
|
Loading…
Reference in New Issue
Block a user