Merge pull request #1333 from arisinfenix/cucumber
OS: Add support for Cucumber Linux
This commit is contained in:
commit
6f85392d7b
34
neofetch
34
neofetch
|
@ -879,8 +879,12 @@ get_distro() {
|
|||
|
||||
elif [[ -f "/etc/os-release" || \
|
||||
-f "/usr/lib/os-release" || \
|
||||
-f "/etc/openwrt_release" ]]; then
|
||||
files=("/etc/os-release" "/usr/lib/os-release" "/etc/openwrt_release")
|
||||
-f "/etc/openwrt_release" || \
|
||||
-f "/etc/lsb-release" ]]; then
|
||||
files=("/etc/os-release"
|
||||
"/usr/lib/os-release"
|
||||
"/etc/openwrt_release"
|
||||
"/etc/lsb-release")
|
||||
|
||||
# Source the os-release file
|
||||
for file in "${files[@]}"; do
|
||||
|
@ -5976,6 +5980,32 @@ ${c2} lodd${c1}dolccc${c2}ccox${c1}xoloo
|
|||
EOF
|
||||
;;
|
||||
|
||||
*"Cucumber"*)
|
||||
set_colors 2 3
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} `.-://++++++//:-.`
|
||||
`:/+//${c2}::--------${c1}:://+/:`
|
||||
-++/:${c2}----..........----${c1}:/++-
|
||||
.++:${c2}---...........-......---${c1}:++.
|
||||
/+:${c2}---....-::/:/--//:::-....---${c1}:+/
|
||||
`++:${c2}--.....:---::/--/::---:.....--${c1}:++`
|
||||
/+:${c2}--.....--.--::::-/::--.--.....--${c1}:+/
|
||||
-o:${c2}--.......-:::://--/:::::-.......--${c1}:o-
|
||||
/+:${c2}--...-:-::---:::..:::---:--:-...--${c1}:+/
|
||||
o/:${c2}-...-:.:.-/:::......::/:.--.:-...-${c1}:/o
|
||||
o/${c2}--...::-:/::/:-......-::::::-/-...-${c1}:/o
|
||||
/+:${c2}--..-/:/:::--:::..:::--::////-..--${c1}:+/
|
||||
-o:${c2}--...----::/:::/--/:::::-----...--${c1}:o-
|
||||
/+:${c2}--....://:::.:/--/:.::://:....--${c1}:+/
|
||||
`++:${c2}--...-:::.--.:..:.--.:/:-...--${c1}:++`
|
||||
/+:${c2}---....----:-..-:----....---${c1}:+/
|
||||
.++:${c2}---..................---${c1}:++.
|
||||
-/+/:${c2}----..........----${c1}:/+/-
|
||||
`:/+//${c2}::--------:::${c1}/+/:`
|
||||
`.-://++++++//:-.`
|
||||
EOF
|
||||
;;
|
||||
|
||||
"debian_small")
|
||||
set_colors 1 7 3
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
|
|
Reference in New Issue