Small changes that I noticed when diffing the files

This commit is contained in:
Livar Cunha 2016-05-26 23:33:37 -07:00
parent e634fedae8
commit 7963018d3d
6 changed files with 9 additions and 5 deletions

View file

@ -82,7 +82,7 @@ get_current_os_name() {
elif [ "$(cat /etc/*-release | grep -cim1 debian)" -eq 1 ]; then
echo "debian"
return 0
if [ "$(cat /etc/*-release | grep -cim1 fedora)" -eq 1 ]; then
elif [ "$(cat /etc/*-release | grep -cim1 fedora)" -eq 1 ]; then
if [ "$(cat /etc/*-release | grep -cim1 23)" -eq 1 ]; then
echo "fedora.23"
return 0