nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] [patch] undo of install-mh (Debian bug #551704)


From: markus schnalke
Subject: Re: [Nmh-workers] [patch] undo of install-mh (Debian bug #551704)
Date: Mon, 08 Nov 2010 21:06:04 +0100
User-agent: nmh 1.3

[2010-11-05 22:34] markus schnalke <address@hidden>
>
> A second try for removing only what install-mh(1) installs:
> 
>     ctx="${MHCONTEXT:-`mhparam context`}"
>     case "$ctx" in
>     '/*') rm "$ctx" ;;
>     *)    rm "`mhpath +`/$ctx" ;;
>     esac
>     rmdir "`mhpath +`"
>     rm "$MH" || rm ~/.mh_profile

I discovered another mistake in this code. Install-mh(1) always stores
the context as ``context'' within the mail directory. This simplifies
the work:

rm "`mhpath +`/context"
rmdir "`mhpath +`"
rm "$MH" || rm ~/.mh_profile


meillo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]