jed-script, getmail
Rafael Laboissiere
Rafael Laboissiere <rafael@debian.org>
Wed, 4 May 2005 11:15:01 +0200
* Jörg Sommer <joerg@alea.gnuu.de> [2005-05-03 17:19]:
> We must install it in /usr/share/jed/bin (this is a FHS violation),
Yes!
> because
>
> $ grep -n getmail rmail.sl
> 504: variable getmail = dircat(Jed_Bin_Dir, "getmail");
>
> it is searched in Jed_Bin_Dir,
>
> 519: if (file_status(getmail) != 1)
> 521: error (getmail + " not found!");
> 524: cmd = sprintf("%s %s %s", getmail, file, tmp_mbox);
> 527: error ("getmail returned error.");
> $ grep Jed_Bin_Dir *
> rmail.sl: variable getmail = dircat(Jed_Bin_Dir, "getmail");
> runpgm.sl: h = dircat (Jed_Bin_Dir, "w32/g32shell.exe");
> runpgm.sl: h = dircat (Jed_Bin_Dir, "w32/w32shell.exe");
> site.sl:variable Jed_Bin_Dir;
> site.sl:Jed_Bin_Dir = JED_ROOT + "[bin]";
> site.sl:Jed_Bin_Dir = dircat (JED_ROOT, "bin");
>
> which is set to JED_ROOT/bin in site.sl.
To make it FHS compliant, we should install the getmail binary elsewhere,
e.g. /usr/lib/jed/bin/. For doing this, we must change the definition of
Jed_Bin_Dir in site.sl.
--
Rafael