freebsd-ports/archivers/rpm5/pkg-deinstall
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

17 lines
397 B
Bash

#!/bin/sh
# $FreeBSD$
# The RPM database directory
RPM_DATABASE_DIR=/var/local/lib/rpm
# Provide instructions for removing the RPM database.
if [ "$2" = "POST-DEINSTALL" ]; then
if [ -d "${RPM_DATABASE_DIR}" ]; then
echo ""
echo "If you are removing RPM permanently you can remove the"
echo "RPM database with the command:"
echo ""
echo " rm -rf ${RPM_DATABASE_DIR}"
echo ""
fi
fi