From 8cead901a886e1113b403ff5c6f437f9a717e41a Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 28 Apr 2013 16:16:18 +0000 Subject: logdrake: ensure syslog-daemon is installed (stopgap to full journal support) --- perl-install/standalone/logdrake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake index e7b71cbb2..c24a8caa3 100755 --- a/perl-install/standalone/logdrake +++ b/perl-install/standalone/logdrake @@ -27,6 +27,7 @@ use standalone; #- warning, standalone must be loaded very first, for 'expla use c; use common; use interactive; +use do_pkgs; use mygtk2 qw(gtknew); #- do not import gtkadd which conflicts with ugtk2 version use ugtk2 qw(:create :dialogs :helpers :wrappers); @@ -43,6 +44,9 @@ foreach (@ARGV) { /^--alert$/ and do { alert_config(); quit() }; } +my $do_pkgs = do_pkgs::do_pkgs($in); +$do_pkgs->ensure_is_installed("syslog-daemon") or exit(0); + my $isTail = $isFile; $| = 1 if $isTail; my $h = chomp_(`hostname -s`); -- cgit v1.2.1