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/INSTALL | |
parent | 1e4ea49b62737557936f26d18507802a9b00c951 (diff) | |
download | pkgsrc-a295db6ab819f07df461ddfe111da117fe71393f.tar.gz |
Move pkg/ files into package's toplevel directory
Diffstat (limited to 'comms/mgetty+sendfax/INSTALL')
-rwxr-xr-x | comms/mgetty+sendfax/INSTALL | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/INSTALL b/comms/mgetty+sendfax/INSTALL new file mode 100755 index 00000000000..1256c857028 --- /dev/null +++ b/comms/mgetty+sendfax/INSTALL @@ -0,0 +1,22 @@ +#!/bin/sh +# + +if [ x"$2" != xPOST-INSTALL ] +then + exit +fi + +${INSTALL_DATA_DIR} ${MGETTY_CONFDIR} +(cd ${PREFIX}/share/examples/mgetty+sendfax; + ${PAX} -r -w -pe -k * ${MGETTY_CONFDIR}) + +test -d /var/spool || \ + ( mkdir /var/spool ; chmod 755 /var/spool ) +test -d /var/spool/fax || \ + ( mkdir /var/spool/fax ; chmod 755 /var/spool/fax ) +test -d /var/spool/fax/incoming || \ + ( mkdir /var/spool/fax/incoming ; chmod 755 /var/spool/fax/incoming ) +test -d /var/spool/fax/outgoing || \ + ( mkdir /var/spool/fax/outgoing ; chmod 1777 /var/spool/fax/outgoing ) +test -d /var/spool/fax/outgoing/locks || \ + ( mkdir /var/spool/fax/outgoing/locks ; chmod 777 /var/spool/fax/outgoing/locks ) |