diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-10 21:46:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-10 21:46:34 +0000 |
commit | 88718cbf6795eed6a833c2a42bc5e6dc99aa99d2 (patch) | |
tree | 141255716350057f972b87b9e197ffe95d94e4e7 | |
parent | e1e3edf9d3ffd2a26d5aea947efc8510aec6aadf (diff) | |
download | pkgsrc-88718cbf6795eed6a833c2a42bc5e6dc99aa99d2.tar.gz |
Fix bug where deinstallation wouldn't restore the original sendmail, etc.
as reported on tech-pkg@. Bump the PKGREVISION.
-rw-r--r-- | mail/mailwrapper/DEINSTALL | 4 | ||||
-rw-r--r-- | mail/mailwrapper/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/mailwrapper/DEINSTALL b/mail/mailwrapper/DEINSTALL index bdfa5525264..c20aea8f200 100644 --- a/mail/mailwrapper/DEINSTALL +++ b/mail/mailwrapper/DEINSTALL @@ -1,4 +1,4 @@ -# $NetBSD: DEINSTALL,v 1.2 2004/07/24 09:19:14 jlam Exp $ +# $NetBSD: DEINSTALL,v 1.3 2004/08/10 21:46:34 jlam Exp $ MAILWRAPPEES="@MAILWRAPPEES@" MAILWRAPPER="${PKG_PREFIX}/sbin/mailwrapper" @@ -11,7 +11,7 @@ ALL_FILES="${ALL_FILES} ${MAILER_CONF_SAMPLE} ${MAILER_CONF}" case ${STAGE} in DEINSTALL) for file in ${MAILWRAPPEES}; do - if [ -f ${file}.mailwrappee ]; then + if [ -f ${file}${MW_BACKUP_SFX} ]; then ${ECHO} "Restoring ${file}${MW_BACKUP_SFX} to ${file}." ${RM} -f ${file} ${MV} -f ${file}${MW_BACKUP_SFX} ${file} diff --git a/mail/mailwrapper/Makefile b/mail/mailwrapper/Makefile index 678f6c04dff..b461b763b0e 100644 --- a/mail/mailwrapper/Makefile +++ b/mail/mailwrapper/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2004/07/24 09:19:15 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2004/08/10 21:46:34 jlam Exp $ DISTNAME= mailwrapper-19990412 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_LOCAL} |