summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-21 07:20:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-21 07:20:50 +0000
commit3c18bf76411278caca1e36e1dca7555e558fd368 (patch)
tree9862a71500632fe06c28f8c0ca0f84e1dfea1dcf /nisautofs_wizard
parent948bf0220eb472087e8bf5b283ca280f87953e5b (diff)
downloaddrakwizard-3c18bf76411278caca1e36e1dca7555e558fd368.tar
drakwizard-3c18bf76411278caca1e36e1dca7555e558fd368.tar.gz
drakwizard-3c18bf76411278caca1e36e1dca7555e558fd368.tar.bz2
drakwizard-3c18bf76411278caca1e36e1dca7555e558fd368.tar.xz
drakwizard-3c18bf76411278caca1e36e1dca7555e558fd368.zip
let support --testing mode
Diffstat (limited to 'nisautofs_wizard')
-rw-r--r--nisautofs_wizard/Nisautofs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index 3b2875d6..489f638f 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -290,6 +290,7 @@ sub uninstall_rpm {
}
sub do_it_server {
+ return if $::testing;
my $in = 'interactive'->vnew('su', 'nisautofsconfig');
my $w = $in->wait_message(N("Nis+autofs Server"), N("Configuring your system as a Nis+Autofs(nfs) server ..."));
# system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null"));
@@ -317,6 +318,7 @@ sub do_it_server {
}
sub do_it_client {
+ return if $::testing;
my $in = 'interactive'->vnew('su', 'nisautofsclient');
my $w = $in->wait_message(N("Nis Client"), N("Configuring your system as Nis Client ..."));
uninstall_rpm('ypserv');