summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
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
commit44085af83b91c776357eea7434043a4af0416495 (patch)
tree412b789db149e18bf9d46244cbebfbbce43f7001 /perl-install/standalone
parentd0b062e1b869a0666ede03d5b0c7cc55b826f9d2 (diff)
downloaddrakx-backup-do-not-use-44085af83b91c776357eea7434043a4af0416495.tar
drakx-backup-do-not-use-44085af83b91c776357eea7434043a4af0416495.tar.gz
drakx-backup-do-not-use-44085af83b91c776357eea7434043a4af0416495.tar.bz2
drakx-backup-do-not-use-44085af83b91c776357eea7434043a4af0416495.tar.xz
drakx-backup-do-not-use-44085af83b91c776357eea7434043a4af0416495.zip
logdrake: ensure syslog-daemon is installed (stopgap to full journal support)
Diffstat (limited to 'perl-install/standalone')
-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`);