mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-12-12 10:57:57 +00:00
Fix update script for Mafl: ensure directory is removed recursively (#5759)
This commit is contained in:
@@ -37,7 +37,7 @@ function update_script() {
|
|||||||
msg_info "Performing backup"
|
msg_info "Performing backup"
|
||||||
mkdir -p /opt/mafl-backup/data
|
mkdir -p /opt/mafl-backup/data
|
||||||
mv /opt/mafl/data /opt/mafl-backup/data
|
mv /opt/mafl/data /opt/mafl-backup/data
|
||||||
rm /opt/mafl
|
rm -rf /opt/mafl
|
||||||
msg_ok "Backup complete"
|
msg_ok "Backup complete"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "mafl" "hywax/mafl"
|
fetch_and_deploy_gh_release "mafl" "hywax/mafl"
|
||||||
|
|||||||
Reference in New Issue
Block a user