mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
736b7081fb
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>
20 lines
510 B
Bash
20 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
|