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

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"