diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-09-01 03:37:16 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:37 +0100 |
commit | db33f2f905bd8778c0a92015dba536854167fff7 (patch) | |
tree | 67aa318d41e7ffe1c3a16ac3c8be2efb491b1bf3 | |
parent | 465e8f2473783697a8b0ea890ab4251a36ca6f92 (diff) | |
download | drakx-db33f2f905bd8778c0a92015dba536854167fff7.tar drakx-db33f2f905bd8778c0a92015dba536854167fff7.tar.gz drakx-db33f2f905bd8778c0a92015dba536854167fff7.tar.bz2 drakx-db33f2f905bd8778c0a92015dba536854167fff7.tar.xz drakx-db33f2f905bd8778c0a92015dba536854167fff7.zip |
do not attempt to install package in testing mode
-rwxr-xr-x | perl-install/standalone/logdrake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake index 2c98de368..94315750a 100755 --- a/perl-install/standalone/logdrake +++ b/perl-install/standalone/logdrake @@ -44,7 +44,9 @@ foreach (@ARGV) { /^--alert$/ and do { alert_config(); quit() }; } -do_pkgs_standalone->new($in)->ensure_is_installed("syslog-daemon", "/etc/systemd/system/syslog.service") or exit(0); +if (!$::testing) { + do_pkgs_standalone->new($in)->ensure_is_installed("syslog-daemon", "/etc/systemd/system/syslog.service") or exit(0); +} my $isTail = $isFile; $| = 1 if $isTail; |