Commit 85eef194 authored by Kim Myung-ki's avatar Kim Myung-ki Committed by Korea Computer Center

레드 스타 OS에 대한 도움 탐지

친애하는 지도자 김정일의 위대한 후계자가 김정은이 프로그램 neofetch에 영광스러운 붉은 별의 검출을 추가 요구했다, 당신은 더 나은 자신의 명령을주의 나 기회가 될! Signed-off-by: 's avatarKorea Computer Center <admin@kcc.net.kp>
parent a4f13cfb
"\
${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() { ...@@ -132,6 +132,12 @@ getdistro() {
esac esac
ascii_distro="Windows 10" 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 elif type -p lsb_release >/dev/null 2>&1; then
case "$distro_shorthand" in case "$distro_shorthand" in
"on") lsb_flags="-sir" ;; "on") lsb_flags="-sir" ;;
...@@ -2417,6 +2423,11 @@ colors() { ...@@ -2417,6 +2423,11 @@ colors() {
setcolors 1 7 3 setcolors 1 7 3
;; ;;
"Red Star"*)
setcolors 1 7 3
ascii_distro="rstar"
;;
"FreeBSD"* | "PCBSD"*) "FreeBSD"* | "PCBSD"*)
setcolors 1 7 3 setcolors 1 7 3
ascii_distro="freebsd" 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