Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Conversation

@nonnorm
Copy link

@nonnorm nonnorm commented Mar 21, 2021

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

@nonnorm
Copy link
Author

nonnorm commented Mar 21, 2021

Screen Shot 2021-03-21 at 1 01 10 PM

@koutsie
Copy link

koutsie commented Mar 22, 2021

LGTM!

@dylanaraps
Copy link
Owner

Existing detection methods do not work?

Comment on lines +1002 to +1009
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

Copy link
Owner

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?

Copy link
Author

@nonnorm nonnorm Jun 11, 2021

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.

Copy link
Owner

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.

@dylanaraps dylanaraps closed this Jun 15, 2021
@nonnorm nonnorm deleted the dietpi branch February 6, 2022 19:02
@hykilpikonna
Copy link

Since DietPi can be detected with existing distro detection methods now, I can merge this.

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Oct 4, 2022
Upstream PR: dylanaraps/neofetch#1706
Thanks to @ravenclaw900

Co-Authored-By: ravenclaw900 <50060110+ravenclaw900@users.noreply.github.com>
@hykilpikonna
Copy link

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!

@nonnorm
Copy link
Author

nonnorm commented Oct 4, 2022

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distro request | DietPi

4 participants