summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 8073a340a..ca4d18cd3 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -561,9 +561,8 @@ sub main {
}
unless ($::testing) {
- unlink $_ foreach (
- "/sbin/insmod", "/sbin/rmmod", "/sbin/install",
- "/modules/modules.cgz",
+ unlink $_ foreach ( $o->{pcmcia} ? () : ("/sbin/install", "/modules/modules.cgz"),
+ "/sbin/insmod", "/sbin/rmmod",
"/modules/pcmcia_core.o", #- always use module from archive.
"/modules/i82365.o",
"/modules/tcic.o",