• Hugo Lefeuvre's avatar
    make-ring: use ID field instead of NAME · b3bb956b
    Hugo Lefeuvre authored
    ID field of os-release is much easier/safer to parse.
    
    In order to stay compatible with scripts calling make-ring, we
    convert --distribution args to lower case. This will ensure a smooth
    transition (only Arch Linux scripts might break, sorry for that).
    
    Also, add support for Linux Mint and Raspbian, both use apt and have
    an important enough user base to be supported.
    
    Change-Id: I13bf44b741a983656dab512ca95e89255efbd30d
    Gitlab:#452Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
    b3bb956b
make-ring.py 16.5 KB