|
@@ -10,7 +10,7 @@ local commandaction="Detect-Glibc"
|
|
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
|
|
|
|
|
|
|
echo "================================="
|
|
echo "================================="
|
|
|
-echo "GLIBC Requirements Checker"
|
|
|
|
|
|
|
+echo "glibc Requirements Checker"
|
|
|
echo "================================="
|
|
echo "================================="
|
|
|
|
|
|
|
|
if [ -z "$(command -v objdump)" ]; then
|
|
if [ -z "$(command -v objdump)" ]; then
|
|
@@ -58,10 +58,10 @@ do
|
|
|
done
|
|
done
|
|
|
echo ""
|
|
echo ""
|
|
|
echo ""
|
|
echo ""
|
|
|
- echo "${glibc_check_name} GLIBC Requirements"
|
|
|
|
|
|
|
+ echo "${glibc_check_name} glibc Requirements"
|
|
|
echo "================================="
|
|
echo "================================="
|
|
|
if [ -f "${tmpdir}/detect_glibc_files_${glibc_check_var}.tmp" ]; then
|
|
if [ -f "${tmpdir}/detect_glibc_files_${glibc_check_var}.tmp" ]; then
|
|
|
- echo "Required GLIBC"
|
|
|
|
|
|
|
+ echo "Required glibc"
|
|
|
cat "${tmpdir}/detect_glibc_${glibc_check_var}.tmp" | sort | uniq | sort -r --version-sort | head -1 |tee -a "${tmpdir}/detect_glibc_highest.tmp"
|
|
cat "${tmpdir}/detect_glibc_${glibc_check_var}.tmp" | sort | uniq | sort -r --version-sort | head -1 |tee -a "${tmpdir}/detect_glibc_highest.tmp"
|
|
|
echo ""
|
|
echo ""
|
|
|
echo "Files requiring GLIBC"
|
|
echo "Files requiring GLIBC"
|
|
@@ -73,19 +73,19 @@ do
|
|
|
rm "${tmpdir}/detect_glibc_${glibc_check_var}.tmp"
|
|
rm "${tmpdir}/detect_glibc_${glibc_check_var}.tmp"
|
|
|
rm "${tmpdir}/detect_glibc_files_${glibc_check_var}.tmp"
|
|
rm "${tmpdir}/detect_glibc_files_${glibc_check_var}.tmp"
|
|
|
else
|
|
else
|
|
|
- fn_print_information_nl "GLIBC is not required"
|
|
|
|
|
|
|
+ fn_print_information_nl "glibc is not required"
|
|
|
fi
|
|
fi
|
|
|
else
|
|
else
|
|
|
fn_print_information_nl "${glibc_check_name} is not installed"
|
|
fn_print_information_nl "${glibc_check_name} is not installed"
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
echo ""
|
|
echo ""
|
|
|
-echo "Final GLIBC Requirement"
|
|
|
|
|
|
|
+echo "Final glibc Requirement"
|
|
|
echo "================================="
|
|
echo "================================="
|
|
|
if [ -f "${tmpdir}/detect_glibc_highest.tmp" ]; then
|
|
if [ -f "${tmpdir}/detect_glibc_highest.tmp" ]; then
|
|
|
cat "${tmpdir}/detect_glibc_highest.tmp" | sort | uniq | sort -r --version-sort | head -1
|
|
cat "${tmpdir}/detect_glibc_highest.tmp" | sort | uniq | sort -r --version-sort | head -1
|
|
|
rm "${tmpdir}/detect_glibc_highest.tmp"
|
|
rm "${tmpdir}/detect_glibc_highest.tmp"
|
|
|
else
|
|
else
|
|
|
- fn_print_information_nl "GLIBC is not required"
|
|
|
|
|
|
|
+ fn_print_information_nl "glibc is not required"
|
|
|
fi
|
|
fi
|
|
|
core_exit.sh
|
|
core_exit.sh
|