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>
17 lines
397 B
Bash
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
|