mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
See http://www.postgresql.org/about/news.1313 for more info. Also, use USERS knob instead of explicitally creating the pgsql user while still accepting alternative names, using [1] with some added magic. PR: 157667 [1]
26 lines
608 B
Bash
26 lines
608 B
Bash
#! /bin/sh
|
|
|
|
# $FreeBSD: /tmp/pcvs/ports/databases/postgresql91-server/files/Attic/pkg-install-server.in,v 1.2 2011-06-11 23:14:30 girgen Exp $
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
backupwarning() { echo "
|
|
|
|
=========== BACKUP YOUR DATA! =============
|
|
As always, backup your data before
|
|
upgrading. If the upgrade leads to a higher
|
|
minor revision (e.g. 7.3.x -> 7.4), a dump
|
|
and restore of all databases is
|
|
required. This is *NOT* done by the port!
|
|
|
|
Press ctrl-C *now* if you need to pg_dump.
|
|
===========================================
|
|
"
|
|
sleep 5
|
|
}
|
|
|
|
case $2 in
|
|
BACKUPWARNING)
|
|
backupwarning
|
|
;;
|
|
esac
|