diff --git a/ct/5etools.sh b/ct/5etools.sh index 92aa7605..9cef188e 100644 --- a/ct/5etools.sh +++ b/ct/5etools.sh @@ -74,9 +74,9 @@ function update_script() { # Execute Update msg_info "Updating 5etools images" - wget -q "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" + curl -L "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip" unzip "${IMG_RELEASE}.zip" - mv "${APP}-img-${IMG_RELEASE:1}" "/opt/${APP}/img" + mv "${APP}-img-${IMG_RELEASE:1}" /opt/${APP}/img echo "${IMG_RELEASE}" >"/opt/${APP}_IMG_version.txt" msg_ok "Updating 5etools images"