diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-03-01 18:20:31 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-03-01 18:20:31 +0000 |
commit | 5a0459e40cc92011b09d1a865063d8d8cf674091 (patch) | |
tree | 99f309c9ebf93dcf55889e0d764668531112ff61 | |
parent | 02eded2c69a811f89a7a23303e1cff162d161f08 (diff) | |
download | drakwizard-5a0459e40cc92011b09d1a865063d8d8cf674091.tar drakwizard-5a0459e40cc92011b09d1a865063d8d8cf674091.tar.gz drakwizard-5a0459e40cc92011b09d1a865063d8d8cf674091.tar.bz2 drakwizard-5a0459e40cc92011b09d1a865063d8d8cf674091.tar.xz drakwizard-5a0459e40cc92011b09d1a865063d8d8cf674091.zip |
add autofs in needed_rpm
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index f237853e..b1f6f9d8 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -57,7 +57,7 @@ my $o = { AUTOMASTER => $AUTOMASTER, AUTOHOME => $AUTOHOME, }, - needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients' ], + needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients', 'autofs' ], defaultimage => "$ENV{__WIZ_HOME__}/nisautofs_wizard/images/nisautofs.png", init => sub { if (member($NISDOMAIN, qw(localdomain (none)))) { @@ -309,7 +309,7 @@ sub do_it_server { my $in = 'interactive'->vnew('su', 'nisautofsconfig'); my $w = $in->wait_message(N("NIS with Autofs map"), N("Configuring your system to be a NIS server with Autofs map...")); # system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null")); - uninstall_rpm('autofs'); +# uninstall_rpm('autofs'); system("urpmi --auto ypserv"); needed_service('ypserv'); # configure autofs to fit nis @@ -338,7 +338,7 @@ sub do_it_client { my $in = 'interactive'->vnew('su', 'nisautofsclient'); my $w = $in->wait_message(N("NIS client"), N("Configuring your system as NIS client ...")); uninstall_rpm('ypserv'); - system("urpmi --auto autofs"); + # system("urpmi --auto autofs"); test_autofile(); # set correct nis set_nisdomain(); |