Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

/etc/os-release does not exist #974

Closed
EmreAtes opened this issue Sep 3, 2018 · 5 comments
Closed

/etc/os-release does not exist #974

EmreAtes opened this issue Sep 3, 2018 · 5 comments

Comments

@EmreAtes
Copy link

EmreAtes commented Sep 3, 2018

Describe Your Issue

At log in, the error message grep: /etc/os-release: No such file or directory is printed

Have you tried to debug or fix it?

In the file funcitons/utilities.zsh:105 the grep tries finding an /etc/os-release file, and doesn't work if that file doesn't exist.

Environment Information

I'm using the master branch of powerlevel9k, and my OS is Centos 6.4 (in /etc/centos-release, it says CentOS release 6.4 (Final))

@pgierz
Copy link
Contributor

pgierz commented Sep 7, 2018

I also have this problem under redhat:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)

pgierz added a commit to pgierz/powerlevel9k that referenced this issue Sep 7, 2018
@bhilburn
Copy link
Member

bhilburn commented Oct 8, 2018

Closed by merge of #988. Trying to fix it in master in #981, too.

@bhilburn bhilburn closed this as completed Oct 8, 2018
@HipHopCoderS
Copy link

I also have this problem under redhat:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)

I have same probleme!

@jandk008
Copy link

I'm facing the same problem.
Please note the fix hasn't been merged to mainline. If it works well, could you please merge the fix to mainline?

@dritter
Copy link
Member

dritter commented Jan 22, 2019

Good point @jandk008 , I added #981 to the upcoming version.

dritter added a commit that referenced this issue Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants