1 # $NetBSD: DEINSTALL,v 1.2 2002/10/20 23:09:27 jlam Exp $
7 for db in ${RPMDIR}/*.rpm; do
8 if [ ${RPMDIR}/.pre-timestamp -ot $db ] && \
9 [ ${RPMDIR}/.post-timestamp -nt $db ]; then
13 ${RM} -f ${RPMDIR}/.pre-timestamp
14 ${RM} -f ${RPMDIR}/.post-timestamp
16 ${RMDIR} -p ${RPMDIR} 2>/dev/null || ${TRUE}
17 if [ -d ${RPMDIR} ]; then
19 ===========================================================================
21 If you won't be using ${PKGNAME} any longer, you may want to remove:
25 where the RPM database is stored.
27 Caution: you will lose any data ${PKGNAME} has about any installed
30 ===========================================================================