blob: 3ce3151819f16871117a8edacd8d76488c1c340c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
|