Skip to content

Commit

Permalink
[PR] dylanaraps#1879 from Drarig29 - Add long distro name for Manjaro…
Browse files Browse the repository at this point in the history
… Linux

Upstream PR: dylanaraps#1879
Thanks to @Drarig29

Co-authored-by: Corentin Girard <corentingirard.dev@gmail.com>
  • Loading branch information
hykilpikonna and Drarig29 committed Jul 31, 2022
2 parents 19d1550 + 8967ab4 commit 21e36f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,12 @@ get_distro() {
. /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})"

elif [[ -f /etc/manjaro-release ]]; then
case $distro_shorthand in
on|tiny) distro="Manjaro Linux" ;;
*) distro="Manjaro Linux $(lsb_release -src)"
esac

elif [[ -f /etc/siduction-version ]]; then
case $distro_shorthand in
on|tiny) distro=Siduction ;;
Expand Down

0 comments on commit 21e36f9

Please sign in to comment.