summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-04-28 16:16:18 +0000
committerColin Guthrie <colin@mageia.org>2013-04-28 16:16:18 +0000
commit8cead901a886e1113b403ff5c6f437f9a717e41a (patch)
tree412b789db149e18bf9d46244cbebfbbce43f7001 /perl-install/standalone/logdrake
parenta3e3d895143a247664b680f0a7cb4a2595a65ba8 (diff)
downloaddrakx-8cead901a886e1113b403ff5c6f437f9a717e41a.tar
drakx-8cead901a886e1113b403ff5c6f437f9a717e41a.tar.gz
drakx-8cead901a886e1113b403ff5c6f437f9a717e41a.tar.bz2
drakx-8cead901a886e1113b403ff5c6f437f9a717e41a.tar.xz
drakx-8cead901a886e1113b403ff5c6f437f9a717e41a.zip
logdrake: ensure syslog-daemon is installed (stopgap to full journal support)
Diffstat (limited to 'perl-install/standalone/logdrake')
-rwxr-xr-xperl-install/standalone/logdrake4
1 files changed, 4 insertions, 0 deletions
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`);