-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
LGTM! |
Existing detection methods do not work? |
elif [[ -f /boot/dietpi/.version ]]; then | ||
. /boot/dietpi/.version | ||
case $distro_shorthand in | ||
on) distro="DietPi v$G_DIETPI_VERSION_CORE.$G_DIETPI_VERSION_SUB.$G_DIETPI_VERSION_RC" ;; | ||
tiny) distro='DietPi' ;; | ||
*) distro="DietPi v$G_DIETPI_VERSION_CORE.$G_DIETPI_VERSION_SUB.$G_DIETPI_VERSION_RC ($G_GITOWNER/$G_GITBRANCH)" | ||
esac | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing detection methods don't work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DietPi is based on Debian/Raspbian/Armbian, and shows up as such. It's really just a bunch of scripts and optimizations on top of that, and not a full distribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not a full distribution, it shouldn't be added to neofetch (line has to be drawn somewhere). Thanks for the PR.
Since DietPi can be detected with existing distro detection methods now, I can merge this. |
Upstream PR: dylanaraps/neofetch#1706 Thanks to @ravenclaw900 Co-Authored-By: ravenclaw900 <[email protected]>
Thank you for your contribution! This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained. HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo. Read the "Running Updated Original Neofetch" section for more info! |
Thanks! |
Description
Adds the DietPi linux "distro".
Resolves #1705
Features
Add DietPi versoning and ASCII logo
Issues
Nothing except for the outstanding one that APT can take a while.
TODO
Nothing