[PR] Separate Gloire from Ironclad (#388)
Some checks failed
Shellcheck / check (push) Has been cancelled

This commit is contained in:
Streaksu 2025-02-15 15:08:03 +01:00 committed by GitHub
parent 5c24bd443a
commit 8a536c30f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -877,9 +877,9 @@ image_source="auto"
# DracOS, DragonFly, Drauger, Droidian, Elementary, Elive, EncryptOS, EndeavourOS, Endless, Enso,
# EuroLinux, EvolutionOS, eweOS, Exherbo, Exodia Predator OS, Fedora, Fedora Kinoite, Fedora
# Sericea, Fedora Silverblue, Fedora_unicode, FemboyOS, Feren, Finnix, Floflis, FreeBSD, FreeMiNT,
# Frugalware, Funtoo, Furreto, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense, GNOME, GNU,
# GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS,
# Hyperbola, iglunix, instantOS, Interix, IRIX, Ironclad, Itc, januslinux, Kaisen, Kali, KaOS, KDE,
# Frugalware, Funtoo, Furreto, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, Gloire, gNewSense, GNOME,
# GNU, GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid,
# HydroOS, Hyperbola, iglunix, instantOS, Interix, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE,
# Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LainOS, LangitKetujuh, LaxerOS, LEDE,
# LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old, LinuxFromScratch, Live Raizo,
# LMDE, Lubuntu, Lunar, mac, MacaroniOS, Mageia, Magix, MagpieOS, MainsailOS, Mandriva, Manjaro,
@ -1070,8 +1070,7 @@ get_distro() {
[[ $distro ]] && return
case $os in
Ironclad) distro=Ironclad ;;
Linux|BSD|MINIX)
Linux|BSD|MINIX|Ironclad)
if [[ -f /bedrock/etc/bedrock-release && -z $BEDROCK_RESTRICT ]]; then
case $distro_shorthand in
on|tiny) distro="Bedrock Linux" ;;
@ -1957,9 +1956,6 @@ get_kernel() {
get_uptime() {
# Get uptime in seconds.
case $os in
Ironclad)
s=$(uptime -s)
;;
Linux|Windows|MINIX)
if [[ -r /proc/uptime ]]; then
s=$(< /proc/uptime)
@ -1988,7 +1984,7 @@ get_uptime() {
s=$((now - boot))
;;
AIX|IRIX)
AIX|IRIX|Ironclad)
t=$(LC_ALL=POSIX ps -o etime= -p 1)
[[ $t == *-* ]] && { d=${t%%-*}; t=${t#*-}; }
@ -6630,9 +6626,9 @@ ASCII:
Kinoite, Fedora Sericea, Fedora Silverblue, Fedora_unicode,
FemboyOS, Feren, Finnix, Floflis, FreeBSD, FreeMiNT, Frugalware,
Funtoo, Furreto, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus,
gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix,
Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS,
Hyperbola, iglunix, instantOS, Interix, IRIX, Ironclad, Itc,
Gloire, gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang,
Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS,
Hyperbola, iglunix, instantOS, Interix, IRIX, Itc,
januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion, Korora,
KrassOS, KSLinux, Kubuntu, LainOS, LangitKetujuh, LaxerOS, LEDE,
LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old,
@ -10765,7 +10761,7 @@ ${c2}~!!7JY5PGGBBBBBBBBGGGGGGGBGGGGGP5YJ?7~~~
EOF
;;
"Ironclad"*)
"Gloire"*)
set_colors 5 7 0
read -rd '' ascii_data <<'EOF'
${c3}