aur/postgresql.install
2022-04-23 00:39:22 +02:00

7 lines
242 B
Text

post_upgrade() {
# Prints the warning message if the database version on disk
# does not match the PostgreSQL major version.
if [ -d /var/lib/postgres/data ]; then
/usr/bin/postgresql-check-db-dir /var/lib/postgres/data || true
fi
}