mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-10 09:49:18 +00:00
Update 5etools.sh
This commit is contained in:
parent
9a4e436dc4
commit
dea39ee262
@ -46,7 +46,7 @@ function update_script() {
|
|||||||
# Execute Update
|
# Execute Update
|
||||||
msg_info "Updating base 5etools"
|
msg_info "Updating base 5etools"
|
||||||
wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip
|
wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip
|
||||||
unzip "${RELEASE}.zip"
|
unzip -q "${RELEASE}.zip"
|
||||||
mv "${APP}-src-${RELEASE:1}" "/opt/${APP}/img"
|
mv "${APP}-src-${RELEASE:1}" "/opt/${APP}/img"
|
||||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
||||||
msg_ok "Updated base 5etools"
|
msg_ok "Updated base 5etools"
|
||||||
@ -74,8 +74,8 @@ function update_script() {
|
|||||||
|
|
||||||
# Execute Update
|
# Execute Update
|
||||||
msg_info "Updating 5etools images"
|
msg_info "Updating 5etools images"
|
||||||
curl -L "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip"
|
curl -sS "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip"
|
||||||
unzip "${IMG_RELEASE}.zip"
|
unzip -q "${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"
|
echo "${IMG_RELEASE}" >"/opt/${APP}_IMG_version.txt"
|
||||||
msg_ok "Updating 5etools images"
|
msg_ok "Updating 5etools images"
|
||||||
|
Loading…
Reference in New Issue
Block a user