diff options
Diffstat (limited to 'databases/postgresql11-server/pkg-install-server')
-rw-r--r-- | databases/postgresql11-server/pkg-install-server | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/postgresql11-server/pkg-install-server b/databases/postgresql11-server/pkg-install-server new file mode 100644 index 000000000000..dff2f434764f --- /dev/null +++ b/databases/postgresql11-server/pkg-install-server @@ -0,0 +1,24 @@ +#! /bin/sh + +# $FreeBSD$ + +PATH=/bin:/usr/bin:/usr/sbin + +backupwarning() { +cat <<EOF + + =========== BACKUP YOUR DATA! ============= + As always, backup your data before + upgrading. If the upgrade leads to a higher + minor revision (e.g. 8.3.x -> 8.4), a dump + and restore of all databases is + required. This is *NOT* done by the port! + =========================================== +EOF +} + +case $2 in +PRE-INSTALL) + backupwarning + ;; +esac |