diff options
author | zuntum <zuntum> | 2001-10-31 20:43:56 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-10-31 20:43:56 +0000 |
commit | a295db6ab819f07df461ddfe111da117fe71393f (patch) | |
tree | 5f2f8c9ec97b2c424a7e249658c126ce6e21641b /comms/mgetty+sendfax/DEINSTALL | |
parent | 1e4ea49b62737557936f26d18507802a9b00c951 (diff) | |
download | pkgsrc-a295db6ab819f07df461ddfe111da117fe71393f.tar.gz |
Move pkg/ files into package's toplevel directory
Diffstat (limited to 'comms/mgetty+sendfax/DEINSTALL')
-rw-r--r-- | comms/mgetty+sendfax/DEINSTALL | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/DEINSTALL b/comms/mgetty+sendfax/DEINSTALL new file mode 100644 index 00000000000..358f82dcf75 --- /dev/null +++ b/comms/mgetty+sendfax/DEINSTALL @@ -0,0 +1,9 @@ +#!/bin/sh +# +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 |