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

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"