diff options
author | jlam <jlam> | 2004-07-24 09:19:14 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-07-24 09:19:14 +0000 |
commit | 79bb38f9ef5dc7170f3fac18afd5eab6b4e84d8a (patch) | |
tree | 4197225b117e569fdbb639835ab0c7aeb3effb41 /mail/mailwrapper/INSTALL | |
parent | 31edc57b9a342b99cd0db921bea3f3b34998937c (diff) | |
download | pkgsrc-79bb38f9ef5dc7170f3fac18afd5eab6b4e84d8a.tar.gz |
As suggested by reed@, use '.pkgsrc.mailwrapper' as the backup suffix so
that it's more apparent who owns that file. Bump the PKGREVISION.
Diffstat (limited to 'mail/mailwrapper/INSTALL')
-rw-r--r-- | mail/mailwrapper/INSTALL | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/mailwrapper/INSTALL b/mail/mailwrapper/INSTALL index 8a1682bb43f..1bc9504eebb 100644 --- a/mail/mailwrapper/INSTALL +++ b/mail/mailwrapper/INSTALL @@ -1,26 +1,27 @@ -# $NetBSD: INSTALL,v 1.1 2004/07/23 23:01:23 jlam Exp $ +# $NetBSD: INSTALL,v 1.2 2004/07/24 09:19:15 jlam Exp $ MAILWRAPPEES="@MAILWRAPPEES@" MAILWRAPPER="${PKG_PREFIX}/sbin/mailwrapper" MAILER_CONF="${PKG_SYSCONFDIR}/mailer.conf" -MAILER_CONF_SAMPLE="${PKG_SYSCONFDIR}/mailer.conf.sendmail" +MAILER_CONF_SAMPLE="${PKG_PREFIX}/share/examples/mailwrapper/mailer.conf.sendmail" +MW_BACKUP_SFX="@MAILWRAPPER_BACKUP_SFX@" case ${STAGE} in POST-INSTALL) for file in ${MAILWRAPPEES}; do if [ -f ${file} ]; then - ${ECHO} "Backing up ${file} as ${file}.mailwrappee." - ${MV} -f ${file} ${file}.mailwrappee + ${ECHO} "Backing up ${file} as ${file}${MW_BACKUP_SFX}." + ${MV} -f ${file} ${file}${MW_BACKUP_SFX} ${LN} -fs ${MAILWRAPPER} ${file} fi done if [ ! -f ${MAILER_CONF} ]; then for file in ${MAILWRAPPEES}; do if [ -f ${file}.mailwrappee ]; then - ${ECHO} "`${BASENAME} ${file}` ${file}.mailwrappee" >> ${MAILER_CONF} + ${ECHO} "`${BASENAME} ${file}` ${file}${MW_BACKUP_SFX}" >> ${MAILER_CONF} case ${file} in */sendmail) - ${ECHO} "send-mail ${file}.mailwrappee" >> ${MAILER_CONF} + ${ECHO} "send-mail ${file}${MW_BACKUP_SFX}" >> ${MAILER_CONF} ;; esac fi |