Fix update script for Mafl: ensure directory is removed recursively (#5759)
This commit is contained in:
parent
4d4726ccbe
commit
14cb9f097d
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user