Skip to content

Commit

Permalink
Better support for Arch
Browse files Browse the repository at this point in the history
Arch has both the os-release and arch-release file, make sure we check
for arch first to avoid returning raspbian in that distribution.
  • Loading branch information
retrohacker committed Nov 22, 2018
1 parent 9dfb603 commit c58eef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"/etc/lsb-release" : ["Ubuntu Linux","Chakra","IYCC","Linux Mint","elementary OS","Arch Linux","Manjaro Linux"],
"/etc/debian_version" : ["Debian"],
"/etc/debian_release" : ["Debian"],
"/etc/arch-release" : ["Arch Linux"],
"/etc/os-release": ["Raspbian"],
"/etc/NIXOS": ["NixOS"],
"/etc/annvix-release" : ["Annvix"],
"/etc/arch-release" : ["Arch Linux"],
"/etc/arklinux-release" : ["Arklinux"],
"/etc/aurox-release" : ["Aurox Linux"],
"/etc/blackcat-release" : ["BlackCat"],
Expand Down

0 comments on commit c58eef6

Please sign in to comment.