Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions screenfetch-dev
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,9 @@ detectdistro () {
fi
;;
esac
if [[ "${distro_detect}" =~ "CentOSStream" ]]; then
distro="CentOS Stream"
fi
if [[ "${distro_detect}" =~ "RedHatEnterprise" ]]; then
distro="Red Hat Enterprise Linux"
fi
Expand Down Expand Up @@ -1171,6 +1174,7 @@ detectdistro () {
blag) distro="BLAG" ;;
bunsenlabs) distro="BunsenLabs" ;;
centos) distro="CentOS" ;;
centos*stream) distro="CentOS Stream" ;;
chakra) distro="Chakra" ;;
chapeau) distro="Chapeau" ;;
chrome*|chromium*) distro="Chrome OS" ;;
Expand Down Expand Up @@ -1378,7 +1382,7 @@ detectpkgs () {
'Guix System')
pkgs=$(guix package --list-installed | wc -l) ;;
'ALDOS'|'Fedora'|'Fux'|'Korora'|'BLAG'|'Chapeau'|'openSUSE'|'SUSE Linux Enterprise'|'Red Hat Enterprise Linux'| \
'ROSA'|'Oracle Linux'|'Scientific Linux'|'EuroLinux'|'CentOS'|'Mandriva'|'Mandrake'|'Mageia'|'Mer'|'SailfishOS'|'PCLinuxOS'|'Viperr'|'Qubes OS'| \
'ROSA'|'Oracle Linux'|'Scientific Linux'|'EuroLinux'|'CentOS'|'CentOS Stream'|'Mandriva'|'Mandrake'|'Mageia'|'Mer'|'SailfishOS'|'PCLinuxOS'|'Viperr'|'Qubes OS'| \
'Red Star OS'|'blackPanther OS'|'Amazon Linux')
pkgs=$(rpm -qa | wc -l) ;;
'Void Linux')
Expand Down Expand Up @@ -5103,7 +5107,7 @@ asciiText () {
"${c1} .SSS....S.. %s")
;;

"CentOS")
"CentOS"|"CentOS Stream")
if [[ "$no_color" != "1" ]]; then
c1=$(getColor 'yellow')
c2=$(getColor 'light green')
Expand Down Expand Up @@ -6146,7 +6150,7 @@ infoDisplay () {
"NetBSD"|"Amazon Linux"|"Proxmox VE")
labelcolor=$(getColor 'orange')
;;
"CentOS")
"CentOS"|"CentOS Stream")
labelcolor=$(getColor 'yellow')
;;
"Hyperbola GNU/Linux-libre"|"PureOS"|*)
Expand Down