|
@ -14,18 +14,24 @@ info_distro.sh |
|
|
if [ "${glibcrequired}" == "NOT REQUIRED" ]; then |
|
|
if [ "${glibcrequired}" == "NOT REQUIRED" ]; then |
|
|
: |
|
|
: |
|
|
elif [ "${glibcrequired}" == "UNKNOWN" ]; then |
|
|
elif [ "${glibcrequired}" == "UNKNOWN" ]; then |
|
|
|
|
|
fn_print_dots "Glibc fix" |
|
|
|
|
|
sleep 0.5 |
|
|
fn_print_error_nl "Glibc fix: ${red}${glibcrequired}${default}" |
|
|
fn_print_error_nl "Glibc fix: ${red}${glibcrequired}${default}" |
|
|
echo -e " * glibc required: ${red}${glibcrequired}${default}" |
|
|
echo -e " * glibc required: ${red}${glibcrequired}${default}" |
|
|
echo -e " * glibc installed: ${glibcversion}" |
|
|
echo -e " * glibc installed: ${glibcversion}" |
|
|
elif [ "$(printf '%s\n'${glibcrequired}'\n' ${glibcversion} | sort -V | head -n 1)" != "${glibcrequired}" ]; then |
|
|
elif [ "$(printf '%s\n'${glibcrequired}'\n' ${glibcversion} | sort -V | head -n 1)" != "${glibcrequired}" ]; then |
|
|
if [ "${glibcfix}" == "yes" ]; then |
|
|
if [ "${glibcfix}" == "yes" ]; then |
|
|
if [ "${selfname}" != "command_install.sh" ]; then |
|
|
if [ "${selfname}" != "command_install.sh" ]; then |
|
|
|
|
|
fn_print_dots "Glibc fix" |
|
|
|
|
|
sleep 0.5 |
|
|
fn_print_info_nl "Glibc fix: ${green}Using Glibc fix${default}" |
|
|
fn_print_info_nl "Glibc fix: ${green}Using Glibc fix${default}" |
|
|
echo -e " * glibc required: ${red}${glibcrequired}${default}" |
|
|
echo -e " * glibc required: ${red}${glibcrequired}${default}" |
|
|
echo -e " * glibc installed: ${glibcversion}" |
|
|
echo -e " * glibc installed: ${glibcversion}" |
|
|
fix_glibc.sh |
|
|
fix_glibc.sh |
|
|
fi |
|
|
fi |
|
|
else |
|
|
else |
|
|
|
|
|
fn_print_dots "Glibc fix" |
|
|
|
|
|
sleep 0.5 |
|
|
fn_print_error_nl "Glibc fix: ${red}No Glibc fix available!${default}" |
|
|
fn_print_error_nl "Glibc fix: ${red}No Glibc fix available!${default}" |
|
|
echo -en "\n" |
|
|
echo -en "\n" |
|
|
echo -e " * glibc required: ${glibcrequired}" |
|
|
echo -e " * glibc required: ${glibcrequired}" |
|
|