mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-14 11:19:42 +00:00
Update 5etools.sh
This commit is contained in:
parent
314f932764
commit
d3d6ec8b20
1 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,7 @@ function update_script() {
|
|||
|
||||
# Execute Update
|
||||
msg_info "Updating base 5etools"
|
||||
cd /opt
|
||||
wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip"
|
||||
unzip -q "${RELEASE}.zip"
|
||||
mv "/opt/${APP}/img" "/opt/img-backup"
|
||||
|
@ -93,7 +94,8 @@ function update_script() {
|
|||
|
||||
# Cleaning up
|
||||
msg_info "Cleaning Up"
|
||||
rm "${IMG_RELEASE}.zip"
|
||||
rm -rf /opt/${RELEASE}.zip
|
||||
rm -rf ${IMG_RELEASE}.zip
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleanup Completed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue