| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG |
| X-Spam-Check-By: | sourceware.org |
| X-Eon-Dm: | dm0206 |
| X-Eon-Sig: | AQMb1uJNXD4Vf6xmVwIAAAAB,eb994405bbf62dfc9c13648faccc4d1c |
| Message-ID: | <4D5C3E1B.2000304@mvseac.com> |
| Date: | Wed, 16 Feb 2011 13:14:03 -0800 |
| From: | L Anderson <lowella AT mvseac DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: mutt cygcheck status "Incomplete" |
| References: | <4D5C339D DOT 2080801 AT member DOT fsf DOT org> <4D5C35A5 DOT 5060205 AT cygwin DOT com> <4D5C3C2C DOT 9040705 AT member DOT fsf DOT org> |
| In-Reply-To: | <4D5C3C2C.9040705@member.fsf.org> |
| X-Proofpoint-Spam-Details: | rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1102160137 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
L Anderson wrote:
> Larry Hall (Cygwin) wrote:
>> On 2/16/2011 3:29 PM, L Anderson wrote:
>>> I have been unsuccessful getting 'mutt' to install without always
>>> showing
>>> "Incomplete". Using 'setup', neither "re-install" nor "delete/install"
>>> fixes
>>> the problem. I install from my local directory which I keep current
>>> using
>>> rsync.
>>
>>
>> <snip>
>>
>>> Package Version Status
>>> Missing file: /etc/Muttrc.setupnew from package mutt
>>> Missing file: /etc/mime.types.setupnew from package mutt
>>> mutt 1.5.20-1 Incomplete
>>>
>>>
>>> Does this mean there is a 'mutt' packaging problem or ???
>>
>> Check the postinstall script in /etc/postinstall (mutt.sh). It
>> might move these files which will make cygcheck think they are
>> missing.
>
> The only entry in '/etc/postinstall' related to 'mutt' is 'mutt.sh.done'
> which, if I understand things correctly, means that mutt was installed ok.
>
> I did a search on my entire cygwin installation and could not find
> either of the two missing files. The only place I can find them
> referenced is in 'mutt.lst.gz', which is just what 'cygcheck' uses to
> determine that 'mutt' is incomplete.
>
whoops! I reread your email and realized I didn't answer the question
you were getting at. Here is what 'mutt.sh.done' contains:
#!/bin/sh
backup_maybe() {
if ! [ -e $1 ] || ! diff -q $1 $1.setupnew >/dev/null 2>&1; then
mv -f $1 $1.old 2>/dev/null
mv -f $1.setupnew $1 2>/dev/null
else
rm -f $1.setupnew
fi
}
backup_maybe /etc/Muttrc
backup_maybe /etc/mime.types
LA
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |