Fix upgrade permissions

This commit is contained in:
Alexandre
2025-05-30 21:18:37 +02:00
committed by GitHub
parent eae782223a
commit 88efcfb3a7

View File

@@ -321,6 +321,10 @@ upgrade_postgres_if_needed() {
cp "$backup_target/postgresql.conf" "$PGDATA"
fi
if [ -f "$backup_target/pg_hba.conf" ]; then
cp -f "$backup_target/pg_hba.conf" "$PGDATA"
fi
bashio::log.info "Upgrade completed successfully."
RESTART_NEEDED=true