summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-02 15:11:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-02 15:11:15 +0000
commit7caab16af421c04faa828f8c779f3a6dc96d4da5 (patch)
tree6d5130613f75ac325afc92b732ea541b43c06e16 /perl-install/install_any.pm
parenta980fe57b7f9de48d39778d3ff39da87a2e81987 (diff)
downloaddrakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.gz
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.bz2
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.xz
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.zip
instead of testing if ref($in) or ref($o) contains /gtk/, test if interactive_gtk is in ISA of the object
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index cf316f9d4..314b2447e 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -946,7 +946,7 @@ sub remove_bigseldom_used {
log::l("remove_bigseldom_used");
$::testing and return;
unlink glob_("/usr/share/gtk/themes/$_*") foreach qw(DarkMarble marble3d);
- if (ref($::o) =~ /gtk/) {
+ if ($::o->isa('interactive_gtk')) {
unlink glob_("/lib/lib$_*") foreach qw(slang newt);
unlink "/usr/bin/perl-install/auto/Newt/Newt.so";
} else {