OS: add support for the siduction os

Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
This commit is contained in:
Alexander Rüedlinger 2017-08-11 08:49:28 +02:00
parent 93e4f41677
commit 57ba17e195
2 changed files with 32 additions and 0 deletions

21
ascii/distro/siduction Normal file
View file

@ -0,0 +1,21 @@
${c1} _aass,
jQh: =$w
QWmwawQW
)$QQQQ@( ..
_a_a. ~??^ syDY?Sa,
_mW>-<$c jWmi imm.
]QQwayQE 4QQmgwmQQ`
?WWQWP' -9QQQQQ@'._aas,
_a%is. .adYYs,. -"?!` aQB*~^3$c
_Qh;.nm .QWc. {QL ]QQp;..vmQ/
"QQmmQ@ -QQQggmQP ]QQWmggmQQ(
-???" "$WQQQY` __, ?QQQQQQW!
_yZ!?q, - .yWY!!Sw, "???^
.QQa_=qQ mQm>..vmm
$QQWQQP $QQQgmQQ@
"???" _aa, -9WWQQWY`
_mB>~)$a -~~
mQms_vmQ.
]WQQQQQP
-?T??"

View file

@ -78,6 +78,12 @@ get_distro() {
*) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)"
esac
elif [[ -f "/etc/siduction-version" ]]; then
case "$distro_shorthand" in
"on" | "tiny") distro="Siduction" ;;
*) distro="Siduction ($(lsb_release -sic))"
esac
elif type -p lsb_release >/dev/null; then
case "$distro_shorthand" in
"on") lsb_flags="-sir" ;;
@ -3560,6 +3566,11 @@ get_distro_colors() {
ascii_file="scientific"
;;
"Siduction"*)
set_colors 4 4
ascii_file="siduction"
;;
"Slackware"*)
set_colors 4 7 1
ascii_file="slackware"