summaryrefslogtreecommitdiffstats
path: root/archivers/rpm5/pkg-deinstall
blob: fd2d7200dbd6ee2abdb2ccecc0bae82e86ec6a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# $FreeBSD$

# The RPM database directory
RPM_DATABASE_DIR=/var/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
OpenPOWER on IntegriCloud