mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-25 03:15:04 +02:00
slskd: migrate config keys for 0.25.0 breaking change
Fixes #13859 Rename 'global' to 'transfers' and 'integration' to 'integrations' in slskd.yml during update, matching upstream 0.25.0 changes.
This commit is contained in:
@@ -43,6 +43,10 @@ function update_script() {
|
||||
|
||||
msg_info "Restoring config"
|
||||
mv /opt/slskd.yml.bak /opt/slskd/config/slskd.yml
|
||||
|
||||
# Migrate 0.25.0 breaking config key renames
|
||||
sed -i 's/^global:/transfers:/' /opt/slskd/config/slskd.yml
|
||||
sed -i 's/^integration:/integrations:/' /opt/slskd/config/slskd.yml
|
||||
msg_ok "Restored config"
|
||||
|
||||
msg_info "Starting Service(s)"
|
||||
|
||||
Reference in New Issue
Block a user