Commit 1b64d969 authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: fix bashism

parent fb4973fe
...@@ -190,7 +190,8 @@ normalize_name() ...@@ -190,7 +190,8 @@ normalize_name()
{ {
[ "$1" = "RED OS" ] && echo "RedOS" && return [ "$1" = "RED OS" ] && echo "RedOS" && return
[ "$1" = "CentOS Linux" ] && echo "CentOS" && return [ "$1" = "CentOS Linux" ] && echo "CentOS" && return
echo "${1// /}" #echo "${1// /}"
echo "$1" | sed -e "s/ //g"
} }
# Default values # Default values
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment