freebsd-ports/databases/postgresql92-server/files/pkg-install-server.in

27 lines
608 B
Text
Raw Normal View History

#! /bin/sh
# $FreeBSD: /tmp/pcvs/ports/databases/postgresql92-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