From 765bb8d5bd8921219e76f055007ee58804d88c79 Mon Sep 17 00:00:00 2001 From: krion Date: Thu, 8 Jul 2004 13:17:55 +0000 Subject: Install Muttrc and mime.types if not already present from a prior installation PR: ports/68816 Submitted by: maintainer --- mail/mutt-devel/Makefile | 2 +- mail/mutt-devel/scripts/generate-plist | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/mutt-devel') diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index f9fd2caaf4b5..0f9dd2509ea8 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -84,7 +84,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.5.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES+= mail ipv6 .if defined(WITH_MUTT_NNTP) CATEGORIES+= news diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist index ff187a0263f1..4d2791716c83 100644 --- a/mail/mutt-devel/scripts/generate-plist +++ b/mail/mutt-devel/scripts/generate-plist @@ -32,6 +32,8 @@ bin/smime_keys @unexec if cmp -s %D/etc/mime.types.dist %D/etc/mime.types; then rm -f %D/etc/mime.types; fi etc/Muttrc.dist etc/mime.types.dist +@exec if [ ! -f %D/etc/Muttrc ]; then cp %D/etc/Muttrc.dist %D/etc/Muttrc; fi +@exec if [ ! -f %D/etc/mime.types ]; then cp %D/etc/mime.types.dist %D/etc/mime.types; fi EOF if [ "$MUTT_NLS" = "yes" ]; then -- cgit