minicom issue
Artur Skura
arturs at iidea.pl
Fri Apr 26 14:59:26 CEST 2002
On Fri, Apr 26, 2002 at 02:32:19PM +0200, Michal Margula wrote:
> On Fri, 26 Apr 2002 14:25:06 +0200
> Artur Skura <arturs at iidea.pl> wrote:
>
> > + if (system("rpm -qi lrzsz &>/dev/null")) {
> > + werror(_("Package lrzsz ist not installed!"));
> > + return;
> > + }
> > +
> > +
>
> IMO it should be changed in a way that it does not require rpm to run. What
> if I don't have access to RPM database? Better tp see if required files is
> on its place.
so this would become
if (system("which rb >/dev/null") ||
system("which rx >/dev/null") ||
system("which rz >/dev/null") ||
system("which sb >/dev/null") ||
system("which sx >/dev/null") ||
system("which sz >/dev/null")
) {
werror(_("You need the lrzsz package to send/receive files"));
return;
}
...but I doubt the maintainer of minicom would accept such a thing.
Regards,
Artur
--
http://www.wolneprogramy.org
http://mf.gnome.pl
More information about the pld-devel-en
mailing list