Skip to content

fix: work with no /etc/os-release file#74

Open
justuser-31 wants to merge 1 commit into
ThatOneCalculator:mainfrom
justuser-31:main
Open

fix: work with no /etc/os-release file#74
justuser-31 wants to merge 1 commit into
ThatOneCalculator:mainfrom
justuser-31:main

Conversation

@justuser-31

Copy link
Copy Markdown

Is some cases /etc/os-release just don't exist:

$ sh nerdfetch
nerdfetch: .: line 187: can't open '/etc/os-release'

Yes, it's small chance, but why not to fix it?

@justuser-31

Copy link
Copy Markdown
Author

This probably seems pointless, so I'll give an example.

I have TV set-top box with Linux installed by manufacturer.
I can access console trough ssh, run some soft.
Stock OS built from scratch, not based on Debian/... So it don't have /etc/os-release

There are some sort of devices/OS like this.
TV set-top boxes, routers, other embedded devices.
Some manufacturers uses own Linux build and they wouldn't publish new release just to add /etc/os-release for... one person.

@ThatOneCalculator

Copy link
Copy Markdown
Owner

Will review soon! Haven't had a lot of time lately

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants