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/NEWS | 7 +++++-- perl-install/standalone/logdrake | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 6649a8e8a..69dc09a77 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,11 +1,14 @@ -Version 15.45 - 27 april 2013 +- logdrake: + o ensure syslog-daemon is installed (stopgap to full journal support) + +Version 15.45 - 27 April 2013 - diskdrake: o only allow 'acl' option for extX & reiserfs (mga#9884) - drakboot: o try harder to get a label for other OSes (mga#9849,9681) -Version 15.44 - 23 april 2013 +Version 15.44 - 23 April 2013 - diskdrake: o fix a crash when reloading partition table (mga#9838) 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