7 lines
242 B
Text
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
|
|
}
|