2000-04-16 20:43:19 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2011-06-12 01:14:30 +02:00
|
|
|
# $FreeBSD: /tmp/pcvs/ports/databases/postgresql92-server/files/Attic/pkg-install-server.in,v 1.2 2011-06-11 23:14:30 girgen Exp $
|
2000-04-16 20:43:19 +02:00
|
|
|
|
2008-01-07 14:51:57 +01:00
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
2000-04-16 20:43:19 +02:00
|
|
|
|
2004-11-23 20:15:12 +01:00
|
|
|
backupwarning() { echo "
|
2000-04-16 20:43:19 +02:00
|
|
|
|
2003-01-04 02:10:15 +01:00
|
|
|
=========== BACKUP YOUR DATA! =============
|
|
|
|
As always, backup your data before
|
|
|
|
upgrading. If the upgrade leads to a higher
|
2004-11-23 20:15:12 +01:00
|
|
|
minor revision (e.g. 7.3.x -> 7.4), a dump
|
2003-01-04 02:10:15 +01:00
|
|
|
and restore of all databases is
|
|
|
|
required. This is *NOT* done by the port!
|
|
|
|
|
|
|
|
Press ctrl-C *now* if you need to pg_dump.
|
|
|
|
===========================================
|
2002-02-19 09:23:22 +01:00
|
|
|
"
|
2003-01-04 02:10:15 +01:00
|
|
|
sleep 5
|
|
|
|
}
|
|
|
|
|
|
|
|
case $2 in
|
|
|
|
BACKUPWARNING)
|
|
|
|
backupwarning
|
|
|
|
;;
|
2000-04-16 20:43:19 +02:00
|
|
|
esac
|