+ --no-check-certificate

This commit is contained in:
committer
2024-05-31 13:05:30 -05:00
parent f518cb43c8
commit 089ae33085
3 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ execute_script() {
echo "execute: ${file} ${parameter_1} ${parameter_2}"
resource_url=${scripts_url}/${file}
if ! wget -q --method=HEAD ${resource_url};
if ! wget --no-check-certificate -q --method=HEAD ${resource_url};
then
echo "error: unable to load '${resource_url}'"
echo ""
@@ -66,7 +66,7 @@ execute_script() {
exit 1
fi
wget -q ${resource_url} -O /tmp/${file}
wget --no-check-certificate -q ${resource_url} -O /tmp/${file}
chmod 755 /tmp/*.sh
/tmp/${file} ${parameter_1} ${parameter_2}
}
@@ -133,7 +133,7 @@ shopt -u extglob
shopt -s extglob
if [ $operation == "us" ] || [ $operation == "upd-self" ] ; then
wget -v ${base_url}/scripts/${this_file} -O ${home_dir}/${this_file}.tmp
wget --no-check-certificate -v ${base_url}/scripts/${this_file} -O ${home_dir}/${this_file}.tmp
cp ${home_dir}/${this_file}.tmp ${home_dir}/${this_file}
rm ${home_dir}/${this_file}.tmp
chmod 755 ${home_dir}/*.sh