echo "alpine"
return 0
elif [ "$(cat /etc/os-release | grep -cim1 fedora)" -eq 1 ]; then
- if [ "$(cat /etc/os-release | grep -cim1 23)" -eq 1 ]; then
- echo "fedora.23"
- return 0
- fi
if [ "$(cat /etc/os-release | grep -cim1 24)" -eq 1 ]; then
echo "fedora.24"
return 0
fi
- elif [ "$(cat /etc/os-release | grep -cim1 opensuse)" -eq 1 ]; then
- if [ "$(cat /etc/os-release | grep -cim1 13.2)" -eq 1 ]; then
- echo "opensuse.13.2"
+ if [ "$(cat /etc/os-release | grep -cim1 25)" -eq 1 ]; then
+ echo "fedora.25"
return 0
fi
+ elif [ "$(cat /etc/os-release | grep -cim1 opensuse)" -eq 1 ]; then
if [ "$(cat /etc/os-release | grep -cim1 42.1)" -eq 1 ]; then
echo "opensuse.42.1"
return 0