Update for mangeia support

Hello 

Here is a pull request to support mageia
Merge pull request #167 from intika/patch-1

Update for mangeia support