freebsd-ports/archivers/rpm5/pkg-install
Edwin Groothuis 736b7081fb New port: archivers/rpm5
New major version of RPM, based upon rpm5.org release.

	Major new features are sqlite, xar and lzma support as
	well as lots of cleanup and better support for FreeBSD.

	See http://rpm5.org/pressrelease.php for more details.

	The new rpm5 port is based on the old rpm4 port, with
	new knobs added for Python and Lua scripting support.

PR:		ports/123022
Submitted by:	Anders F Björklund <afb@rpm5.org>
2008-07-07 13:19:16 +00:00

19 lines
510 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 "No RPM database found. If you wish to use RPM to install"
# echo "RPM packages the you will need to initialise the database"
# echo "with the commands:"
# echo ""
# echo " mkdir -p ${RPM_DATABASE_DIR}"
# echo " ${PKG_PREFIX}/bin/rpm --initdb"
# echo ""
fi
fi