#!/bin/sh
# $FreeBSD: ports/archivers/dpkg/files/pkg-install.in,v 1.1 2007/02/06 21:05:29 miwi Exp $

LOCALBASE="/usr/local"
DPKGDIR="/var/db/dpkg"

case $2 in
POST-INSTALL)
	if [ -d ${LOCALBASE}/var/dpkg -a ${LOCALBASE}/var/dpkg != ${DPKGDIR} ]; then
		echo ""
		echo "If you wish to keep the databases from a previous dpkg"
		echo "installation, move the contents of ${LOCALBASE}/var/dpkg"
		echo "to ${DPKGDIR}."
		echo ""
	fi
	;;
esac
