fix: on el5 perl download

This commit is contained in:
boypt
2024-02-27 16:13:28 +08:00
parent bf2bf15bb2
commit b2333f7516

View File

@@ -49,7 +49,7 @@ if [[ ! -f $ASKPASSSRC ]]; then
echo "!!! Please download $ASKPASSSRC in $PWD by yourself."
fi
if [[ $($__dir/compile.sh GETEL) == "el5" ]]; then
if [[ $($__dir/compile.sh GETEL) == "el5" && ! -f $PERLSRC ]]; then
echo Get: $PERLMIR/$PERLSRC
wget --no-check-certificate $PERLMIR/$PERLSRC || \
echo "!!! Please download $PERLSRC in $PWD by yourself."