summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-28 20:56:30 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-06-03 18:06:58 +0200
commitbbcd8a866d7a714c384e5b7a6d1339141243f7bc (patch)
treec5d7ea21dad18efe5db07f620678bb55b2d3068d
parentb8bcb63f0bae3045698731fe6c5b33f97a05c729 (diff)
downloaddrakx-net-bbcd8a866d7a714c384e5b7a6d1339141243f7bc.tar
drakx-net-bbcd8a866d7a714c384e5b7a6d1339141243f7bc.tar.gz
drakx-net-bbcd8a866d7a714c384e5b7a6d1339141243f7bc.tar.bz2
drakx-net-bbcd8a866d7a714c384e5b7a6d1339141243f7bc.tar.xz
drakx-net-bbcd8a866d7a714c384e5b7a6d1339141243f7bc.zip
bypass package install with --testing
-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');