Skip to content

Commit

Permalink
Add detection specifically to Fedora Remix for WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Jun 2, 2020
1 parent 8808125 commit a814be7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wslu-header
Expand Up @@ -228,6 +228,7 @@ case $distro in
Arch*) distro="archlinux";;
*Oracle*) distro="oracle";;
Scientific*) distro="scilinux";;
*Fedora\ Remix\ for\ WSL*) distro="fedoraremix";;
*Fedora*) distro="fedora";;
*Generic*) [ "fedora" == "$(grep -e "LIKE=" /etc/os-release | sed -e 's/ID_LIKE=//g')" ] && distro="oldfedora" || distro="unknown";;
*) distro="unknown";;
Expand Down

0 comments on commit a814be7

Please sign in to comment.