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

Distribution detection stopped working on CentOS 6 with Neofetch 2.0 #493

Closed
rkujawa opened this issue Dec 4, 2016 · 6 comments
Closed
Labels

Comments

@rkujawa
Copy link

rkujawa commented Dec 4, 2016

Description

With release 2.0, Neofetch does not display correct distribution information and logo on CentOS 6.

Neofetch version

$ rpm -q neofetch
neofetch-2.0-1.el6.noarch

Screenshot

$ neofetch 
/usr/bin/neofetch: line 77: /etc/os-release: No such file or directory
/usr/bin/neofetch: line 77: /usr/lib/os-release: No such file or directory
/etc/centos-release: line 1: syntax error near unexpected token `('
/etc/centos-release: line 1: `CentOS release 6.8 (Final)'
awk: (FILENAME=/etc/system-release FNR=1) fatal: cannot open file `/usr/lib/*ease' for reading (No such file or directory)
        #####          [email protected] 
       #######         -------------------------------- 
       ##O#O##         Model: MS-7792 1.0 
       #######         OS: Linux (Unknown) x86_64 
     ###########       Kernel: 2.6.32-642.6.1.el6.x86_64 
    #############      Uptime: 50 days, 19 hours, 28 minutes 
   ###############     Packages: 1986 
   ################    Shell: /bin/bash 
  #################    CPU: AMD A10-6800K APU (4) @ 4.1GHz 
#####################  GPU: AMD Radeon HD 8670D 
#####################  Memory: 4507MB / 7068MB 
  #################    ​ 
                       ████████████████ 

Verbose log

https://gist.github.com/rkujawa/2aa79c266d942d263bae18e325ec9bbf

@dylanaraps
Copy link
Owner

Does lsb_release -sir display the correct info for you?

@rkujawa
Copy link
Author

rkujawa commented Dec 4, 2016

Yes:

$ lsb_release -sir 
CentOS 6.8

@dylanaraps
Copy link
Owner

dylanaraps commented Dec 4, 2016 via email

@dylanaraps
Copy link
Owner

Fixed.

@dylanaraps dylanaraps added the Bug label Dec 4, 2016
@rkujawa
Copy link
Author

rkujawa commented Dec 7, 2016

Confirmed working with neofetch-2.0.1-1.el6.noarch RPM.

@dylanaraps
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants