sensors.py sys_get_distrib_name() is broken
Bug #264856 reported by
Przemysław Firszt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Universal Applets |
Fix Committed
|
Undecided
|
Przemysław Firszt |
Bug Description
sensory.py lines 236/237
elif os.path.
return 'Debian ' + str(commands.
I'm sure checking if /etc/lsb-release exist is not enough to assume that it's a debian. Needs to be fixed by somebody with a debian.
To post a comment you must log in.
/etc/debian_version can be used to check if a distro is debian or a debian derivative. (E.g. on ubuntu, the file contains 'lenny/sid')