blob: 0b86b3699ee0e6158de11a4432ff86cd379e0da3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.4 2003/08/30 20:22:50 jlam Exp $
case ${STAGE} in
DEINSTALL)
if [ -d /var/spool/fax ]; then
filecount="`${FIND} /var/spool/fax -type f 2>/dev/null | wc -l`"
if [ $filecount -eq 0 ]; then
${ECHO} "Removing empty fax spool directories..."
${RM} -r /var/spool/fax
fi
fi
;;
esac
|