summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-19 12:46:29 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-19 12:46:29 +0000
commit169131f41eac4d0d24118955577d85799435d4d5 (patch)
treed9c358b6037c5e729a2f90d36c88f958edf05c11 /samba_wizard
parent9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7 (diff)
downloaddrakwizard-169131f41eac4d0d24118955577d85799435d4d5.tar
drakwizard-169131f41eac4d0d24118955577d85799435d4d5.tar.gz
drakwizard-169131f41eac4d0d24118955577d85799435d4d5.tar.bz2
drakwizard-169131f41eac4d0d24118955577d85799435d4d5.tar.xz
drakwizard-169131f41eac4d0d24118955577d85799435d4d5.zip
fix comments_struct
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/Samba.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index cd461908..ac063571 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -74,7 +74,7 @@ $::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/sambasrv.png";
# we ask glueconf to give us the structure representing /etc/samba/smb.conf
if (!-f "/etc/samba/smb.conf") { mkdir_p("/etc/samba/"); cp_af("/usr/share/wizards/samba_wizard/scripts/smb.conf.default", "/etc/samba/smb.conf") }
#my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf', show_commented_info => 1 });
-my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [ ['^\s+#'], ['^\s+;']]);
+my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [['^\s*#'], ['^\s*;']]);
#debug
use Data::Dumper;