summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-06 19:26:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-06 19:26:34 +0000
commit1f0de60afffe8abf278fa97b7a9fc3be094eef89 (patch)
tree8adb33bfc5c302ef26ddb5b42cfa1cc4dfefacf3 /perl-install/standalone/draksec
parent139a52ee736351a0bbca49919cb7ecc23ab9a2a8 (diff)
downloaddrakx-1f0de60afffe8abf278fa97b7a9fc3be094eef89.tar
drakx-1f0de60afffe8abf278fa97b7a9fc3be094eef89.tar.gz
drakx-1f0de60afffe8abf278fa97b7a9fc3be094eef89.tar.bz2
drakx-1f0de60afffe8abf278fa97b7a9fc3be094eef89.tar.xz
drakx-1f0de60afffe8abf278fa97b7a9fc3be094eef89.zip
install chkrootkit if needed (#17896)
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 6bbbd817b..4e352a347 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -329,6 +329,12 @@ gtkpack_($vbox,
remove_wait_msg($w);
+ if ($secadmin_value ne $msec->get_check_value('CHKROOTKIT_CHECK') && ! -f '/usr/sbin/chkrootkit') {
+ require do_pkgs;
+ my $do_pkgs = do_pkgs_standalone->new;
+ $do_pkgs->is_available('chkrootkit') and $do_pkgs->install('chkrootkit');
+ }
+
ugtk2->exit(0);
}
},