From 2f225e71d75a880a41a1c58dd26ef02d537482d7 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 7 Jul 2013 08:44:52 +0200 Subject: [PATCH] fix downloading newer smbw --- script.d/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.d/common.sh b/script.d/common.sh index 99103ff..f5b388f 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -53,7 +53,7 @@ download_soundtrack () { if [[ ${SOUNDTRACK} ]]; then if [[ ${SOUNDTRACK_LINK} ]]; then - wget "${SOUNDTRACK_LINK}" -O ${SOUNDTRACK_ZIP} + wget --no-check-certificate "${SOUNDTRACK_LINK}" -O ${SOUNDTRACK_ZIP} exit 0 else echo -e "no soundtrack for ${GAME} available." @@ -67,7 +67,7 @@ download_banner () { if [[ ${DL_BANNER} == "TRUE" ]]; then if [[ ${CUSTOM_BANNER} ]]; then - wget "${CUSTOM_BANNER}" -O ${GAMEID}-custom-banner.bnr + wget --no-check-certificate "${CUSTOM_BANNER}" -O ${GAMEID}-custom-banner.bnr BANNER=${GAMEID}-custom-banner.bnr else echo "no custom banner for ${GAMENAME} available, not modifying" @@ -108,7 +108,7 @@ check_riivolution_patch () { if [[ ${DOWNLOAD} ]]; then if [[ ${DOWNLOAD_LINK} ]]; then if [[ ! -f "${RIIVOLUTION_ZIP}" ]]; then - wget ${DOWNLOAD_LINK} -O "${RIIVOLUTION_ZIP}" + wget --no-check-certificate ${DOWNLOAD_LINK} -O "${RIIVOLUTION_ZIP}" if [[ "${RIIVOLUTION_ZIP}" == *.zip ]]; then unzip "${RIIVOLUTION_ZIP}" >/dev/null elif [[ "${RIIVOLUTION_ZIP}" == *.rar ]]; then