summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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 {