summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-01 11:58:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-01 11:58:37 +0000
commit9a83b92026fb5545a9bc71e6db1a1d86f5a1118c (patch)
tree84d25c8500b4ebf0a767f2780a89ed82f3b10f55 /perl-install/network
parent7fa856e29ea680b0bc4f2a4ac130ccdb1b0d38ce (diff)
downloaddrakx-9a83b92026fb5545a9bc71e6db1a1d86f5a1118c.tar
drakx-9a83b92026fb5545a9bc71e6db1a1d86f5a1118c.tar.gz
drakx-9a83b92026fb5545a9bc71e6db1a1d86f5a1118c.tar.bz2
drakx-9a83b92026fb5545a9bc71e6db1a1d86f5a1118c.tar.xz
drakx-9a83b92026fb5545a9bc71e6db1a1d86f5a1118c.zip
fix removing domain name (esp. when domain name is empty)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/nfs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm
index 20c9055f3..39faa716e 100644
--- a/perl-install/network/nfs.pm
+++ b/perl-install/network/nfs.pm
@@ -49,8 +49,8 @@ sub find_servers {
while ($s = <$F2> || <$F3>) {
$quit = 0;
my ($ip, $name) = $s =~ /(\S+)\s+(\S+)/ or log::explanations("bad line in rpcinfo output"), next;
- $name =~ s/\Q.$domain//;
$name =~ s/\.$//;
+ $name =~ s/\Q.$domain\E$//;
$servers{$ip} ||= { ip => $ip, if_($name ne '(unknown)', name => $name) };
}
}
write_on_pixmap gtkcreate_xpm gtkcreate_png) ],
+ wrappers => [ qw(gtksignal_connect gtkradio gtkpack gtkpack_ gtkpack__ gtkpack2 gtkpack3 gtkpack2_ gtkpack2__ gtksetstyle gtkset_tip gtkappenditems gtkappend gtkset_shadow_type gtkset_layout gtkset_relief gtkadd gtkput gtktext_insert gtkset_usize gtksize gtkset_justify gtkset_active gtkset_sensitive gtkset_modal gtkset_border_width gtkmove gtkshow gtkhide gtkdestroy gtkset_mousecursor gtkset_mousecursor_normal gtkset_mousecursor_wait gtkset_background gtkset_default_fontset gtkctree_children gtkxpm gtkpng write_on_pixmap gtkcreate_xpm gtkcreate_png) ],
ask => [ qw(ask_warn ask_okcancel ask_yesorno ask_from_entry ask_file) ],
);
$EXPORT_TAGS{all} = [ map { @$_ } values %EXPORT_TAGS ];