-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Neofetch output to display Pop! instead of Ubuntu #56
Conversation
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.
Looks good
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.
We still have to dpkg-divert the files
The |
Are there other dpkg-diverts in other scripts |
Seems in 19.04, neofetch, and possibly others, are now readying from `/usr/lib/os-release` instead of `/etc/os-release`.
Yes, the |
Thanks, I am going to do some cleanup on this and then merge it |
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.
I tested functionality on my own system
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.
Fixes pop-os/pop#505
In 19.04,
neofetch
andlsb_release
, and possibly others, are now reading from/usr/lib/os-release
instead of/etc/os-release
. According to the freedesktop spec,/etc/os-release
is supposed to take precedence over/usr/lib/os-release
, and only fall back to/usr/lib/os-release
if/etc/os-release
is missing.lsb_release
andneofetch
seem to be exhibiting broken behavior in that regard.This will add a symlink at
/usr/lib/os-release
so that applications using either/etc/os-release
or/usr/lib/os-release
will get the correct os-release.