blob: e21e71ecd38fe3ee10735c8336d1e948e1f30ef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# $NetBSD: DEINSTALL,v 1.2 2006/07/05 06:53:13 jlam Exp $
case "${STAGE}" in
DEINSTALL)
LIST="${PKG_PREFIX}/share/tetrinetx/game.log"
for to_trash in ${LIST}; do
if ${TEST} -d "$to_trash"; then
${RM} -fr $to_trash/*
elif ${TEST} -f "$to_trash"; then
${RM} -f $to_trash
fi
done
;;
esac
|