Thierry Vignaud <[EMAIL PROTECTED]> writes:
> > When the Report Bug menu item in harddrake2 is selected, a file ./1
> > (zero bytes, permissions 644) is written if harddrake2 is invoked
> > from the command line (harddrakeui-1.1.9-50mdk).
>
> this is a drakbug bug (:-) )
>
> i can reproduct it... i'll look at it
fixed :
Index: standalone/drakbug
===================================================================
RCS file: /cooker/gi/perl-install/standalone/drakbug,v
retrieving revision 1.22
diff -u -3 -p -r1.22 drakbug
--- standalone/drakbug 2002/09/19 09:45:15 1.22
+++ standalone/drakbug 2002/09/20 07:03:32
@@ -174,8 +174,8 @@ sub update_app {
sub get_package {
my ($executable) = @_;
my ($rpm_package, $which_app);
- $which_app = chomp_(`which '$executable'`);
- $rpm_package = chomp_(`rpm -qf '$which_app' 2>1&`);
+ $which_app = chomp_(`which '$executable' 2> /dev/null`);
+ $rpm_package = chomp_(`rpm -qf '$which_app' 2>&1`);
$rpm_package;
}
also prevent spurious error message if package isn't installed and
which doesn't find program
that was a deush sucks :-)
thanks for the report