1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/archivers/rpm5/pkg-install
Pav Lucistnik cfb54574ad - Update to 5.2.1
PR:		ports/152701
Submitted by:	Anders F Bjorklund <afb@rpm5.org> (maintainer)
2010-11-30 14:14:36 +00:00

19 lines
463 B
Bash

#!/bin/sh
# $FreeBSD$
# The RPM database directory
RPM_DATABASE_DIR=/var/local/lib/rpm
# Provide instructions for initialising the RPM database.
if [ "$2" = "POST-INSTALL" ]; then
if [ -d "${RPM_DATABASE_DIR}" ]; then
echo ""
echo "Old RPM database found. If you are upgrading RPM from a"
echo "different version of Berkeley DB, you might need to rebuild"
echo "with the command:"
echo ""
echo " ${PKG_PREFIX}/bin/rpm --rebuilddb"
echo ""
fi
fi