diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-07-25 08:55:26 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-07-25 08:55:26 +0300 |
commit | 1d96f5e066a5dd569ddd24787d7e9a3c3abe3024 (patch) | |
tree | c3cb41282e364d69e3cc6c23ec50d8730ede7679 /internal/wizard.zsh | |
parent | e8aa8cce7f3c2017a21e62f502217be22e066aea (diff) |
unquote ID in /etc/os-release (#2388)
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r-- | internal/wizard.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 2265b07c..f32de395 100644 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -1126,7 +1126,7 @@ function os_icon_name() { if [[ -r /etc/os-release ]]; then local lines=(${(f)"$(</etc/os-release)"}) lines=(${(@M)lines:#ID=*}) - (( $#lines == 1 )) && os_release_id=${lines[1]#ID=} + (( $#lines == 1 )) && os_release_id=${(Q)${lines[1]#ID=}} elif [[ -e /etc/artix-release ]]; then os_release_id=artix fi |