Merge pull request #137 from PaterSiul/master

Fix Archlinux detection
This commit is contained in:
jbarnett-r7 2017-05-02 15:09:30 -05:00 committed by GitHub
commit 5887a4c02f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ if [ $(uname) = "Darwin" ]; then
vagrant_exact_match=false
elif [ $(uname) = "Linux" ]; then
vagrant_exact_match=false
if cat /etc/*-release | grep -q 'DISTRIB_ID=Arch'; then
if (cat /etc/*-release | grep -q 'DISTRIB_ID=Arch')|(cat /etc/os-release | grep -q 'ID=arch'); then
packer_bin="packer-io"
fi
fi