Fix update script for Mafl: ensure directory is removed recursively (#5759)

This commit is contained in:
Jonas Albrecht 2025-07-06 14:46:15 +02:00 committed by GitHub
parent 4d4726ccbe
commit 14cb9f097d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"