Do not use shortcut conditional operator which is not supported in Python 2.4.
Add support for Fedora, OpenSUSE and ArchLinux.
Tested under Fedora 19 and OpenSUSE 12.3. Not tested on ArchLinux.