diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-28 20:56:30 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-06-03 18:06:58 +0200 |
commit | bbcd8a866d7a714c384e5b7a6d1339141243f7bc (patch) | |
tree | c5d7ea21dad18efe5db07f620678bb55b2d3068d /bin/draksambashare | |
parent | b8bcb63f0bae3045698731fe6c5b33f97a05c729 (diff) | |
download | drakx-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
Diffstat (limited to 'bin/draksambashare')
-rwxr-xr-x | bin/draksambashare | 4 |
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'); |