summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/draksambashare4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/draksambashare b/bin/draksambashare
index e55e7bd..46d6031 100755
--- a/bin/draksambashare
+++ b/bin/draksambashare
@@ -39,7 +39,9 @@ use Libconf::Glueconf::Samba::Smb_conf;
require_root_capability();
my $in = 'interactive'->vnew;
-$in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or exit(1);
+if (!$::testing) {
+ $in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or exit(1);
+}
#if (!-f "/etc/sysconfig/wizard_samba") {
# $in->do_pkgs->ensure_is_installed('drakwizard', '/usr/sbin/drakwizard');