summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive_gtk.pm2
-rwxr-xr-xperl-install/standalone/draknet2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 350a11d87..1ca82c12e 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -45,7 +45,7 @@ sub ask_from_list_with_helpW {
my $f = sub { $w->{retval} = $_[1]; Gtk->main_quit };
my $b;
$w->sync;
- $::isWizard and my $pixmap = new Gtk::Pixmap( gtkcreate_xpm($w->{window}, $::wizard_xpm)); # or goto nowizard;
+ $::isWizard and my $pixmap = new Gtk::Pixmap( gtkcreate_xpm($w->{window}, $::wizard_xpm)) || die "pixmap $! not found.";
$::isWizard and gtkset_usize($w->{rwindow}, 500, 400);
gtkadd($w->{window},
gtkpack2_(create_box_with_title($w, @$messages),
diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet
index f2f8538cb..e29734595 100755
--- a/perl-install/standalone/draknet
+++ b/perl-install/standalone/draknet
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-use lib (/usr/lib/libDrakX);
+use lib qw(/usr/lib/libDrakX);
use interactive;
use netconnect;