[+] Add Peropesis Linux support

https://github.com/dylanaraps/neofetch/issues/2414
This commit is contained in:
Azalea 2023-11-22 04:26:55 -05:00
parent f66b128caf
commit ce1423bfbd

View file

@ -1263,6 +1263,9 @@ get_distro() {
source /etc/VERSION source /etc/VERSION
distro="Synology DSM ${productversion}-${buildnumber} Update ${smallfixnumber}" distro="Synology DSM ${productversion}-${buildnumber} Update ${smallfixnumber}"
elif compgen -G "/usr/bin/*peropesis*" > /dev/null; then
distro="Peropesis"
else else
for release_file in /etc/*-release; do for release_file in /etc/*-release; do
distro+=$(< "$release_file") distro+=$(< "$release_file")
@ -12657,6 +12660,17 @@ dmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmd
EOF EOF
;; ;;
"Peropesis"*)
set_colors 4 7 1
read -rd '' ascii_data <<'EOF'
${c1}#### #### #### ### #### #### #### # ####
# # # # # # # # # # # # #
#### ### #### # # #### ### # # #
# # # # # # # # # # #
# #### # # ### # #### #### # ####
EOF
;;
"Q4OS"*) "Q4OS"*)
set_colors 4 1 set_colors 4 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'