ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/archivers/rpm4/pkg-deinstall
Revision: 24810
Committed: Sat Jan 19 06:57:20 2019 UTC (5 years, 3 months ago) by laffer1
File size: 459 byte(s)
Log Message:
update rpm

File Contents

# Content
1 #!/bin/sh
2 # $FreeBSD: head/archivers/rpm4/pkg-deinstall 340719 2014-01-22 15:52:06Z mat $
3
4 # The RPM database directory
5 RPM_DATABASE_DIR=/var/lib/rpm
6
7 # Provide instructions for removing the RPM database.
8 if [ "$2" = "POST-DEINSTALL" ]; then
9 if [ -d "${RPM_DATABASE_DIR}" ]; then
10 echo ""
11 echo "If you are removing RPM permanently you can remove the"
12 echo "RPM database with the command:"
13 echo ""
14 echo " rm -rf ${RPM_DATABASE_DIR}"
15 echo ""
16 fi
17 fi