summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-28 21:31:04 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-28 21:31:04 +0000
commit50d68b10d3b25575a58f1ba784263b3be6edb2c3 (patch)
tree3937a573cd25fef9cc1e9171d8afc9eba912fb69 /perl-install
parent83caf003d01e1c8159b4923de12fa12dbd2ecd0a (diff)
downloaddrakx-50d68b10d3b25575a58f1ba784263b3be6edb2c3.tar
drakx-50d68b10d3b25575a58f1ba784263b3be6edb2c3.tar.gz
drakx-50d68b10d3b25575a58f1ba784263b3be6edb2c3.tar.bz2
drakx-50d68b10d3b25575a58f1ba784263b3be6edb2c3.tar.xz
drakx-50d68b10d3b25575a58f1ba784263b3be6edb2c3.zip
test if /etc/sysconfig/wizard_samba exist (commented)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksambashare6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare
index 5ca0ca9e4..54ce32fc6 100755
--- a/perl-install/standalone/draksambashare
+++ b/perl-install/standalone/draksambashare
@@ -37,6 +37,12 @@ use Libconf::Glueconf::Samba::Smb_conf;
my $in = 'interactive'->vnew('su');
$in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or return;
+#if (!-f "/etc/sysconfig/wizard_samba") {
+# $in->do_pkgs->ensure_is_installed('drakwizard', '/usr/sbin/drakwizard');
+# err_dialog(N("Error"), N("Please setup a samba server")) and return;
+#}
+
+
my $icon_path = "/usr/lib/libDrakX/icons";
my $fileshare_icon = "$icon_path/IC-winacces2-16.png";
my $printershare_icon = "$icon_path/IC-sambaprt-16.png";