Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was 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

Description

@rkujawa

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)
        #####          rkujawa@bitfenix.home.c0ff33.net 
       #######         -------------------------------- 
       ##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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions