summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorNicolas Planel <nplanel@mandriva.com>2003-12-16 13:44:38 +0000
committerNicolas Planel <nplanel@mandriva.com>2003-12-16 13:44:38 +0000
commit4576a69218954e9f71c66ba89a8ea4571eeec624 (patch)
treea482a41ec4381b78093d765fccd222e811bdc0a8 /perl-install
parentabf5c6d408b08edc0c49ec42a26137385c0dce2f (diff)
downloaddrakx-4576a69218954e9f71c66ba89a8ea4571eeec624.tar
drakx-4576a69218954e9f71c66ba89a8ea4571eeec624.tar.gz
drakx-4576a69218954e9f71c66ba89a8ea4571eeec624.tar.bz2
drakx-4576a69218954e9f71c66ba89a8ea4571eeec624.tar.xz
drakx-4576a69218954e9f71c66ba89a8ea4571eeec624.zip
launch as shell
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 508c07090..2746b3695 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -291,7 +291,7 @@ sub write_conf {
append_to_etc_modules($prefix, @l);
#- use module-init-tools script for the moment
- run_program::rooted($prefix, "/sbin/generate-modprobe.conf", ">", "/etc/modprobe.conf") if -e "$prefix/etc/modprobe.conf";
+ run_program::rooted($prefix, "/bin/sh", "/sbin/generate-modprobe.conf", ">", "/etc/modprobe.conf") if -e "$prefix/etc/modprobe.conf";
}
sub append_to_etc_modules {