diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-19 12:26:19 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-19 12:26:19 +0300 |
commit | 7a114ad6fb0182ddf5515cd8e54dcdf75f3aa7d6 (patch) | |
tree | 2d9e89175cde11fec805c7bb13fd08737957fc73 /internal/wizard.zsh | |
parent | 86b747f4342c383eb63ad4be266cbf535c72c4d4 (diff) |
detect artix linux for the sake of displaying os logo; see #898
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r-- | internal/wizard.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index b078a9e2..c668afde 100644 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -1047,6 +1047,8 @@ function os_icon_name() { local lines=(${(f)"$(</etc/os-release)"}) lines=(${(@M)lines:#ID=*}) (( $#lines == 1 )) && os_release_id=${lines[1]#ID=} + elif [[ -e /etc/artix-release ]]; then + os_release_id=artix fi case $os_release_id in *arch*) echo LINUX_ARCH_ICON;; @@ -1069,6 +1071,7 @@ function os_icon_name() { *devuan*) echo LINUX_DEVUAN_ICON;; *manjaro*) echo LINUX_MANJARO_ICON;; *void*) echo LINUX_VOID_ICON;; + *artix*) echo LINUX_ARTIX_ICON;; *) echo LINUX_ICON;; esac ;; |