Commit a8b958b8 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #404 from koreacomputercenter/master

레드 스타 OS에 대한 도움 탐지
parents a4f13cfb 85eef194
"\
${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::::;...';;;;;,,,,,,.
,::::::;;;,'. ..',,,,'''.
........ ......
"
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment