summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-08 18:22:51 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-08 18:22:51 +0000
commit1a2b7368e1192f501fa5a10f989df26d7575a559 (patch)
treed893d96857411434db8d686cc6fd5f31d31cb056 /perl-install/install
parent670c3db8eca8ca16a78254372c893ce1d8ba8269 (diff)
downloaddrakx-1a2b7368e1192f501fa5a10f989df26d7575a559.tar
drakx-1a2b7368e1192f501fa5a10f989df26d7575a559.tar.gz
drakx-1a2b7368e1192f501fa5a10f989df26d7575a559.tar.bz2
drakx-1a2b7368e1192f501fa5a10f989df26d7575a559.tar.xz
drakx-1a2b7368e1192f501fa5a10f989df26d7575a559.zip
(SEGV handler) simplify checking whether interactive was set up or not
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/install2.pm3
-rw-r--r--perl-install/install/share/list.xml1
2 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 8917834e2..25ead647d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -26,7 +26,6 @@ use any;
use log;
use fs;
use fs::any;
-use Scalar::Util qw(blessed dualvar);
#-#######################################################################################
@@ -321,7 +320,7 @@ sub main {
$SIG{SEGV} = sub {
my $msg = "segmentation fault: install crashed (maybe memory is missing?)\n" . backtrace();
log::l("$msg\n");
- blessed($o) and $o->ask_warn('', $msg);
+ UNIVERSAL::can($o, 'ask_warn') and $o->ask_warn('', $msg);
setVirtual(1);
require install::steps_auto_install;
install::steps_auto_install_non_interactive::errorInStep($o, $msg);
diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml
index 0d7035273..27378a010 100644
--- a/perl-install/install/share/list.xml
+++ b/perl-install/install/share/list.xml
@@ -377,7 +377,6 @@
warnings.pm
warnings/register.pm
ARCH-linux-thread-multi/File/Glob.pm
- ARCH-linux-thread-multi/auto/List/Util/Util.so
ARCH-linux-thread-multi/auto/File/Glob/Glob.so
ARCH-linux-thread-multi/Config.pm
ARCH-linux-thread-multi/Config_git.pl