35
This commit is contained in:
parent
dee4feefe2
commit
b370aa1388
@ -13,8 +13,7 @@ REGEX_FLAG_ENABLED="0"
|
||||
LOCK_FILE="/tmp/dst-domain-cron-lockfile"
|
||||
export CA_CERT_BUNDLE_PATH="/pfrm2.0/opt/fw1/bin/ca-bundle.crt"
|
||||
export SSL_CERT_FILE="${CA_CERT_BUNDLE_PATH}"
|
||||
alias curl_cli="curl_cli --cacert ${CA_CERT_BUNDLE_PATH}"
|
||||
|
||||
#alias curl_cli="curl_cli --cacert ${CA_CERT_BUNDLE_PATH}"
|
||||
|
||||
if [ -f "${LOCK_FILE}" ];then
|
||||
echo "Lockfile exits, stopping update"
|
||||
@ -115,7 +114,7 @@ fi
|
||||
|
||||
TMP_DOWNLOAD_FILE=$(mktemp)
|
||||
|
||||
curl_cli --cacert "${CA_CERT_BUNDLE_PATH}" -s "${URL}" -o ${TMP_DOWNLOAD_FILE}
|
||||
curl_cli --cacert "${CA_CERT_BUNDLE_PATH}" -s "${URL}" -o "${TMP_DOWNLOAD_FILE}"
|
||||
RES=$?
|
||||
|
||||
if [ "${RES}" -gt "0" ];then
|
||||
|
Loading…
Reference in New Issue
Block a user