summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-07 15:56:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-07 15:56:40 +0000
commitd33c8a72719af292726930c96e0abab68b494bb9 (patch)
treecaef03d8cd971d82f9efdbfdf299544c48bf7a49 /perl-install
parent29a7234c5bdf582d65e13a4de654eb82c0e0a2ff (diff)
downloaddrakx-backup-do-not-use-d33c8a72719af292726930c96e0abab68b494bb9.tar
drakx-backup-do-not-use-d33c8a72719af292726930c96e0abab68b494bb9.tar.gz
drakx-backup-do-not-use-d33c8a72719af292726930c96e0abab68b494bb9.tar.bz2
drakx-backup-do-not-use-d33c8a72719af292726930c96e0abab68b494bb9.tar.xz
drakx-backup-do-not-use-d33c8a72719af292726930c96e0abab68b494bb9.zip
don't have the adsl & modem passwords in report.bug
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 7133583d3..977a9ad66 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -666,6 +666,13 @@ sub g_auto_install {
qw(oldu oldg password password2),
);
$_ = { %{$_ || {}} }, delete @$_{@user_info_to_remove} foreach $o->{superuser}, @{$o->{users} || []};
+
+ if ($respect_privacy && $o->{netcnx}) {
+ if (my $type = $o->{netcnx}{type}) {
+ my @netcnx_type_to_remove = qw(passwd passwd2 login phone_in phone_out);
+ $_ = { %{$_ || {}} }, delete @$_{@netcnx_type_to_remove} foreach $o->{netcnx}{$type};
+ }
+ }
require Data::Dumper;
my $str = join('',