[imp]
Patch for making imp2horde and imp2turba scriptable (was: Re:
Bug#150435: imp3: would be nice if transition from imp2 to imp3 w
ould be
automatic)
Tomas Pospisek
tpo_deb@sourcepole.ch
Wed, 19 Jun 2002 15:55:44 +0200 (CEST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---------------------- multipart/mixed attachment
Here the patch to make imp2horde and imp2turba scriptable. I'm Cc: ing
this also upstream, I hope upstream will include it.
*t
On Wed, 19 Jun 2002, Nils Rennebarth wrote:
> On Wed, Jun 19, 2002 at 01:17:17PM +0200, Tomas Pospisek wrote:
> > It'd be nice if the install procedure would ask the user if he wants to
> > update and then run the imp2horde and imp2turba [scripts]. These
> > scripts would have to be _very_ slightly patched as well.
> If you have any experiences and the patch, please send it to me,
> I'll soon make a new imp release based on imp 3.1
>
> > Btw. thanks for the work - IMP3 seems to run fine so far :-)
> Thanks.
-----------------------------------------------------------------------
Tomas Pospisek
sourcepole - Linux & Open Source Solutions
http://sourcepole.com
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel:+41 (81) 330 77 13, Fax:+41 (81) 330 77 12
------------------------------------------------------------------------
---------------------- multipart/mixed attachment
LS0tIG9sZC9pbXAyaG9yZGUucGwJV2VkIEp1biAxOSAxMjo0OTowMyAyMDAy
DQorKysgaW1wMmhvcmRlLnBsCVdlZCBKdW4gMTkgMTU6MjA6MDEgMjAwMg0K
QEAgLTE2LDEwICsxNiwxMyBAQA0KICMgICAgICAgICAgICAgICBzbyB0aGF0
IHlvdXIgZGF0YWJhc2UgdXNlci9wYXNzd29yZCwgbG9jYXRpb24gYW5kIGlt
cA0KICMgICAgICAgICAgICAgICBkYXRhYmFzZSBhbmQgaG9yZGUgZGF0YWJh
c2UgYXJlIGNvcnJlY3QuIA0KICMNCi0NCisjICAgIERhdGU6CTE5LzYvMDIN
CisjICAgIAkJYSBmZXcgb2YgdGhlIG1vc3QgaW1wb3J0YW50IHZ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AkZGJfaW1waGFuZGxlID0gREJJLT5jb25uZWN0DQo=
---------------------- multipart/mixed attachment--