Skip to content

Commit

Permalink
Merge pull request #5513 from corollari/fedora-fix
Browse files Browse the repository at this point in the history
Detect Fedora properly in install_deps.sh
  • Loading branch information
chriseth committed Nov 29, 2018
2 parents f6d0132 + 87f9834 commit 6b11ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ detect_linux_distro() {
DISTRO=$(lsb_release -is)
elif [ -f /etc/os-release ]; then
# extract 'foo' from NAME=foo, only on the line with NAME=foo
DISTRO=$(sed -n -e 's/^NAME="\(.*\)\"/\1/p' /etc/os-release)
DISTRO=$(sed -n -e 's/^NAME="\?\([^"]*\)"\?$/\1/p' /etc/os-release)
elif [ -f /etc/centos-release ]; then
DISTRO=CentOS
else
Expand Down

0 comments on commit 6b11ef1

Please sign in to comment.