summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-06-07 02:31:16 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-06-07 02:31:16 +0300
commit5eedb2586be2c0107ebd159d50833664c612ce69 (patch)
tree014b5aba517fb6461dfc1fbfc13ab43d75d575be
parent40219759bb4deaee31023e2ab01e0804f34bf00a (diff)
parentfcea56be5c3da7db8c2c37f143d837eb9fa4986b (diff)
Merge remote-tracking branch 'Maxattax97/next' into staging_065
-rwxr-xr-xfunctions/utilities.zsh36
1 files changed, 18 insertions, 18 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh
index 9a651a0b..61f8cd77 100755
--- a/functions/utilities.zsh
+++ b/functions/utilities.zsh
@@ -106,58 +106,58 @@ case $(uname) in
OS='Linux'
os_release_id="$(grep -E '^ID=([a-zA-Z]*)' /etc/os-release | cut -d '=' -f 2)"
case "$os_release_id" in
- "arch")
+ *arch*)
OS_ICON=$(print_icon 'LINUX_ARCH_ICON')
;;
- "debian")
+ *debian*)
OS_ICON=$(print_icon 'LINUX_DEBIAN_ICON')
;;
- "ubuntu")
+ *ubuntu*)
OS_ICON=$(print_icon 'LINUX_UBUNTU_ICON')
;;
- "elementary")
+ *elementary*)
OS_ICON=$(print_icon 'LINUX_ELEMENTARY_ICON')
;;
- "fedora")
+ *fedora*)
OS_ICON=$(print_icon 'LINUX_FEDORA_ICON')
;;
- "coreos")
+ *coreos*)
OS_ICON=$(print_icon 'LINUX_COREOS_ICON')
;;
- "gentoo")
+ *gentoo*)
OS_ICON=$(print_icon 'LINUX_GENTOO_ICON')
;;
- "mageia")
+ *mageia*)
OS_ICON=$(print_icon 'LINUX_MAGEIA_ICON')
;;
- "centos")
+ *centos*)
OS_ICON=$(print_icon 'LINUX_CENTOS_ICON')
;;
- "opensuse"|"tumbleweed")
+ *opensuse*|*tumbleweed*)
OS_ICON=$(print_icon 'LINUX_OPENSUSE_ICON')
;;
- "sabayon")
+ *sabayon*)
OS_ICON=$(print_icon 'LINUX_SABAYON_ICON')
;;
- "slackware")
+ *slackware*)
OS_ICON=$(print_icon 'LINUX_SLACKWARE_ICON')
;;
- "linuxmint")
+ *linuxmint*)
OS_ICON=$(print_icon 'LINUX_MINT_ICON')
;;
- "alpine")
+ *alpine*)
OS_ICON=$(print_icon 'LINUX_ALPINE_ICON')
;;
- "aosc")
+ *aosc*)
OS_ICON=$(print_icon 'LINUX_AOSC_ICON')
;;
- "nixos")
+ *nixos*)
OS_ICON=$(print_icon 'LINUX_NIXOS_ICON')
;;
- "devuan")
+ *devuan*)
OS_ICON=$(print_icon 'LINUX_DEVUAN_ICON')
;;
- "manjaro")
+ *manjaro*)
OS_ICON=$(print_icon 'LINUX_MANJARO_ICON')
;;
*)