summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-10 15:49:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-10 15:49:53 +0000
commit6297a5ec89d9153b992f570cc93f7b99a66c7d72 (patch)
tree6f535bfbaa19f82940bcb15ba9b72a22789582bd /perl-install
parent6958d0eaf86868ef620d297ec6d7913588975f30 (diff)
downloaddrakx-6297a5ec89d9153b992f570cc93f7b99a66c7d72.tar
drakx-6297a5ec89d9153b992f570cc93f7b99a66c7d72.tar.gz
drakx-6297a5ec89d9153b992f570cc93f7b99a66c7d72.tar.bz2
drakx-6297a5ec89d9153b992f570cc93f7b99a66c7d72.tar.xz
drakx-6297a5ec89d9153b992f570cc93f7b99a66c7d72.zip
typo fix
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modparm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm
index 623590bc7..d7fc84c0f 100644
--- a/perl-install/modparm.pm
+++ b/perl-install/modparm.pm
@@ -14,7 +14,7 @@ sub parameters {
my ($module) = @_;
my $modinfo = '/sbin/modinfo';
- -x $modinfo or {
+ if (-x $modinfo) {
$modinfo = '/usr/bin/modinfo';
-x $modinfo or die _('modinfo is not available');
}