[2010-11-05 22:34] markus schnalke <meillo(_at_)marmaro(_dot_)de>
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
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers