BrainSpawnInfosphere / pyarchey

Archey is a system information tool written in Python.
https://pypi.python.org/pypi/pyarchey/
GNU General Public License v3.0
8 stars 6 forks source link

Wrong package number for Arch #8

Closed pozar87 closed 9 years ago

pozar87 commented 9 years ago

In pyarchey 0.6.2 there is small mistake in Packages sub-class (pyarchay.py - line 475). The used dist name is Arch instead of Arch Linux.

Correct line should be:

elif dist == 'Arch Linux':

Best Regards

walchko commented 9 years ago

making this and some other updates, thanks!

walchko commented 9 years ago

Does Arch have /etc/os-release file? If so, can you send me the contents of it?

pozar87 commented 9 years ago

Hello, Yes, it does:

 $ cat /etc/os-release 
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"

Regards,

PS Thanks for quick response :)

walchko commented 9 years ago

should be good now. I uploaded a new version to pypi