summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-27 12:27:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-27 12:27:18 +0000
commit70741afc585232427158c395adee286d2fdce69e (patch)
treea2e16790719bb6ebe257b73b0c73d49b039c1c37 /perl-install/install_steps_gtk.pm
parent8b91b50d2b352ece6b6fa0a66f98718aad807873 (diff)
downloaddrakx-70741afc585232427158c395adee286d2fdce69e.tar
drakx-70741afc585232427158c395adee286d2fdce69e.tar.gz
drakx-70741afc585232427158c395adee286d2fdce69e.tar.bz2
drakx-70741afc585232427158c395adee286d2fdce69e.tar.xz
drakx-70741afc585232427158c395adee286d2fdce69e.zip
(installPackages): catch the no png file exception (in case warly is dumb again)
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 609de6b14..ba4c3efdb 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -540,7 +540,7 @@ sub installPackages {
my $f = $install_any::advertising_images[$i++ % @install_any::advertising_images];
log::l("advertising $f");
gtkdestroy($advertising);
- gtkpack($box, $advertising = gtkpng($f));
+ eval { gtkpack($box, $advertising = gtkpng($f)) };
}
$w->flush;
} elsif ($m =~ /^Progressing installing package/) {