mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
added some comments + added note to json
This commit is contained in:
@@ -41,17 +41,17 @@ function update_script() {
|
||||
|
||||
# Creating Backup
|
||||
msg_info "Creating Backup"
|
||||
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" "/opt/${APP}/upload"
|
||||
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" "/opt/${APP}/upload" # Backing up full project + all bins
|
||||
msg_ok "Backup Created"
|
||||
|
||||
# Execute Update
|
||||
msg_info "Updating $APP to ${RELEASE}"
|
||||
cd /opt/rustypaste
|
||||
|
||||
git fetch --tags
|
||||
git fetch --tags # getting newest versions
|
||||
git switch --detach ${RELEASE}
|
||||
|
||||
cargo build --locked --release
|
||||
cargo build --locked --release # recreating the binary
|
||||
msg_ok "Updated $APP to ${RELEASE}"
|
||||
|
||||
# Starting Services
|
||||
|
||||
Reference in New Issue
Block a user