Add Macaroni OS
* add Macaroni OS support * add anise package manager support
This commit is contained in:
parent
ccd5d9f526
commit
8edddeaf8b
1 changed files with 42 additions and 1 deletions
43
neofetch
43
neofetch
|
@ -793,7 +793,7 @@ image_source="auto"
|
||||||
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, HydroOS
|
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, HydroOS
|
||||||
# Hyperbola, iglunix, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora,
|
# Hyperbola, iglunix, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora,
|
||||||
# KSLinux, Kubuntu, LEDE, LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE,
|
# KSLinux, Kubuntu, LEDE, LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE,
|
||||||
# Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, Manjaro, TeArch, Maui,
|
# Lubuntu, Lunar, MacaroniOS, macos, Mageia, MagpieOS, Mandriva, Manjaro, TeArch, Maui,
|
||||||
# Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD,
|
# Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD,
|
||||||
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
|
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
|
||||||
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
||||||
|
@ -1008,6 +1008,17 @@ get_distro() {
|
||||||
distro="Proxmox VE ${distro%/*}"
|
distro="Proxmox VE ${distro%/*}"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
elif type -p anise >/dev/null; then
|
||||||
|
for file in /etc/lsb-release /etc/os-release ; do
|
||||||
|
source "$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
case $distro_shorthand in
|
||||||
|
on|tiny) distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}}" ;;
|
||||||
|
*)
|
||||||
|
distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}} ${VERSION:-${DISTRIB_RELEASE}}"
|
||||||
|
esac
|
||||||
|
|
||||||
elif type -p lsb_release >/dev/null; then
|
elif type -p lsb_release >/dev/null; then
|
||||||
case $distro_shorthand in
|
case $distro_shorthand in
|
||||||
on) lsb_flags=-si ;;
|
on) lsb_flags=-si ;;
|
||||||
|
@ -1565,6 +1576,7 @@ get_packages() {
|
||||||
has swupd && tot swupd bundle-list --quiet
|
has swupd && tot swupd bundle-list --quiet
|
||||||
has pisi && tot pisi li
|
has pisi && tot pisi li
|
||||||
has pacstall && tot pacstall -L
|
has pacstall && tot pacstall -L
|
||||||
|
has anise && tot anise s --installed
|
||||||
|
|
||||||
# Using the dnf package cache is much faster than rpm.
|
# Using the dnf package cache is much faster than rpm.
|
||||||
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
|
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
|
||||||
|
@ -8414,6 +8426,35 @@ ${c3} __
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"MacaroniOS"* | "Macaroni OS"*)
|
||||||
|
|
||||||
|
set_colors 2 3 15 14
|
||||||
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
${c2}
|
||||||
|
-=+++==--::.. .-+++==-:.
|
||||||
|
.:--:-=++==-:. :=*+=--==+***######**+-:
|
||||||
|
.---:-===-----===+++==-:.. :=+=--=+*****+++*****#%%%#-
|
||||||
|
.=*********+++========+++++=--:. .:-=+++++++=-:.. .=*=::.
|
||||||
|
:-=-. .:::---===+++++++++++*******++====+**+++=-:. :+*-..
|
||||||
|
.. -++ ..:--==+***********=:. -*=
|
||||||
|
. :+. . ${c3}...${c2} .:--===:. .++
|
||||||
|
.*: . ${c3}:+#%%@@%%#=: ${c2}--
|
||||||
|
${c2}-= ${c3}-#@@@@@@@@@@@@#: ${c2}.
|
||||||
|
${c3}:*%@%%@@@@@@@@@@@%+ .:--====-:.
|
||||||
|
:*%%%%%%%%%@@@@@@@@@*. :=*#%%%%@@@@@%#+-
|
||||||
|
.*%%%%%%%%%%%%%@@#+--=- -*%%%%%%%%%%%@@@@@%#=
|
||||||
|
-#%%%%%%%%%%%%%#: :+: :+%*#%%%%%%%%%%%%%%%%%*.
|
||||||
|
+%%%%%%%%%%%%%%: .#*: *+-*%%%%%%%%%%%%%%%%%+
|
||||||
|
+%%%%%%%%%%%%%# . . . :%%%%%%%%%%%%%%%%%#.
|
||||||
|
=#%%%%%%%%%%%%# . . =%%%%%%%%%%%%%%%%%*.
|
||||||
|
.*%%%%%%%%%%%%%* : =%%%%%%%%%%%%%%%%%#-
|
||||||
|
:#%%%%%%%%%%%%%#=.... .=*%%%%%%%%%%%%%%%%%%*:
|
||||||
|
:*%@@%%%%%%%%%%%%#+. :+#%%%%%%%%%%%%%#*-
|
||||||
|
=*%%@@%%%%%%%#*- .-=+**##**+=:
|
||||||
|
:=*######+=:
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
|
||||||
"mac"*"_small")
|
"mac"*"_small")
|
||||||
set_colors 2 3 1 5 4
|
set_colors 2 3 1 5 4
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
|
Loading…
Reference in a new issue