summaryrefslogtreecommitdiff
path: root/mail/mailwrapper/DEINSTALL
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-10 21:46:34 +0000
committerjlam <jlam@pkgsrc.org>2004-08-10 21:46:34 +0000
commit88718cbf6795eed6a833c2a42bc5e6dc99aa99d2 (patch)
tree141255716350057f972b87b9e197ffe95d94e4e7 /mail/mailwrapper/DEINSTALL
parente1e3edf9d3ffd2a26d5aea947efc8510aec6aadf (diff)
downloadpkgsrc-88718cbf6795eed6a833c2a42bc5e6dc99aa99d2.tar.gz
Fix bug where deinstallation wouldn't restore the original sendmail, etc.
as reported on tech-pkg@. Bump the PKGREVISION.
Diffstat (limited to 'mail/mailwrapper/DEINSTALL')
-rw-r--r--mail/mailwrapper/DEINSTALL4
1 files changed, 2 insertions, 2 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}