Merge pull request #404 from koreacomputercenter/master
레드 스타 OS에 대한 도움 탐지
This commit is contained in:
commit
a8b958b820
2 changed files with 31 additions and 0 deletions
20
ascii/distro/rstar
Normal file
20
ascii/distro/rstar
Normal file
|
@ -0,0 +1,20 @@
|
|||
"\
|
||||
${c1} ..
|
||||
.oK0l
|
||||
:0KKKKd.
|
||||
.xKO0KKKKd
|
||||
,Od' .d0000l
|
||||
.c;. .'''... ..'.
|
||||
.,:cloddxxxkkkkOOOOkkkkkkkkxxxxxxxxxkkkx:
|
||||
;kOOOOOOOkxOkc'...',;;;;,,,'',;;:cllc:,.
|
||||
.okkkkd,.lko .......',;:cllc:;,,'''''.
|
||||
.cdo. :xd' cd:. ..';'',,,'',,;;;,'.
|
||||
. .ddl.;doooc'..;oc;'..';::;,'.
|
||||
coo;.oooolllllllcccc:'. .
|
||||
.ool''lllllccccccc:::::;.
|
||||
;lll. .':cccc:::::::;;;;'
|
||||
:lcc:'',..';::::;;;;;;;,,.
|
||||
:cccc::::;...';;;;;,,,,,,.
|
||||
,::::::;;;,'. ..',,,,'''.
|
||||
........ ......
|
||||
"
|
11
neofetch
11
neofetch
|
@ -132,6 +132,12 @@ getdistro() {
|
|||
esac
|
||||
ascii_distro="Windows 10"
|
||||
|
||||
elif [ -f "/etc/redstar-release" ]; then
|
||||
case "$distro_shorthand" in
|
||||
"on" | "tiny") distro="Red Star OS" ;;
|
||||
*) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)"
|
||||
esac
|
||||
|
||||
elif type -p lsb_release >/dev/null 2>&1; then
|
||||
case "$distro_shorthand" in
|
||||
"on") lsb_flags="-sir" ;;
|
||||
|
@ -2417,6 +2423,11 @@ colors() {
|
|||
setcolors 1 7 3
|
||||
;;
|
||||
|
||||
"Red Star"*)
|
||||
setcolors 1 7 3
|
||||
ascii_distro="rstar"
|
||||
;;
|
||||
|
||||
"FreeBSD"* | "PCBSD"*)
|
||||
setcolors 1 7 3
|
||||
ascii_distro="freebsd"
|
||||
|
|
Loading…
Reference in a new issue