mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 23:04:09 +02:00
Fix upgrade permissions
This commit is contained in:
@@ -321,6 +321,10 @@ upgrade_postgres_if_needed() {
|
|||||||
cp "$backup_target/postgresql.conf" "$PGDATA"
|
cp "$backup_target/postgresql.conf" "$PGDATA"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$backup_target/pg_hba.conf" ]; then
|
||||||
|
cp -f "$backup_target/pg_hba.conf" "$PGDATA"
|
||||||
|
fi
|
||||||
|
|
||||||
bashio::log.info "Upgrade completed successfully."
|
bashio::log.info "Upgrade completed successfully."
|
||||||
RESTART_NEEDED=true
|
RESTART_NEEDED=true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user