d8751949d5
However, redirect stderr to /dev/null to get rid of unnecessary warning that triggered 1.4.
12 lines
317 B
Text
12 lines
317 B
Text
# $NetBSD: DEINSTALL,v 1.5 2013/10/08 10:40:21 wiz Exp $
|
|
|
|
MIMEDB_PATH="@MIMEDB_PATH@"
|
|
|
|
case ${STAGE} in
|
|
POST-DEINSTALL)
|
|
(cd ${MIMEDB_PATH} && \
|
|
${LS} . | ${GREP} -v '^packages$' | ${XARGS} ${RM} -rf)
|
|
${RMDIR} ${MIMEDB_PATH}/packages 2>/dev/null || ${TRUE}
|
|
${RMDIR} ${MIMEDB_PATH} 2>/dev/null || ${TRUE}
|
|
;;
|
|
esac
|