diff options
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init-tools.sh b/init-tools.sh index 995e882461..f965583dae 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -43,14 +43,14 @@ get_current_linux_name() { 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 + 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" |