diff options
Diffstat (limited to 'comms/efax/INSTALL')
-rwxr-xr-x | comms/efax/INSTALL | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/comms/efax/INSTALL b/comms/efax/INSTALL index da11e0ac39f..1d2d4431664 100755 --- a/comms/efax/INSTALL +++ b/comms/efax/INSTALL @@ -1,10 +1,16 @@ #!/bin/sh # -test -d /var/spool || \ - ( mkdir /var/spool ; chmod 755 /var/spool ) -test -d /var/spool/efax || \ - ( mkdir /var/spool/efax ; chmod 755 /var/spool/efax ) -test -d /var/log || \ - ( mkdir /var/log ; chmod 755 /var/log ) -test -d /var/log/efax || \ - ( mkdir /var/log/efax ; chmod 755 /var/log/efax ) +# $NetBSD: INSTALL,v 1.2 2003/08/30 18:40:07 jlam Exp $ + +case "$1" in +POST-INSTALL) + ${TEST} -d /var/spool || \ + ( ${MKDIR} /var/spool ; ${CHMOD} 755 /var/spool ) + ${TEST} -d /var/spool/efax || \ + ( ${MKDIR} /var/spool/efax ; ${CHMOD} 755 /var/spool/efax ) + ${TEST} -d /var/log || \ + ( ${MKDIR} /var/log ; ${CHMOD} 755 /var/log ) + ${TEST} -d /var/log/efax || \ + ( ${MKDIR} /var/log/efax ; ${CHMOD} 755 /var/log/efax ) + ;; +esac |