Merge pull request #801 from lexruee/add-siduction-support

OS: Add support for the Siduction OS
This commit is contained in:
Dylan Araps 2017-08-12 21:02:18 +10:00 committed by GitHub
commit be650e5ec7
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"