nmh-workers
[Top] [All Lists]

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

2010-11-08 14:06:13
[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

<Prev in Thread] Current Thread [Next in Thread>