summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-01-28 03:58:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-01-28 03:58:51 +0000
commit8b489236272931b2df1717950cc09b0ca2b2ba0d (patch)
treef836c9267a37245b2cf6ec69f6883125f5be8ac9 /perl-install/standalone/draksec
parent8b2cb610faf310d719395ef2bc88018f38c7ef05 (diff)
downloaddrakx-backup-do-not-use-8b489236272931b2df1717950cc09b0ca2b2ba0d.tar
drakx-backup-do-not-use-8b489236272931b2df1717950cc09b0ca2b2ba0d.tar.gz
drakx-backup-do-not-use-8b489236272931b2df1717950cc09b0ca2b2ba0d.tar.bz2
drakx-backup-do-not-use-8b489236272931b2df1717950cc09b0ca2b2ba0d.tar.xz
drakx-backup-do-not-use-8b489236272931b2df1717950cc09b0ca2b2ba0d.zip
install msec if needed
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 4641918a5..ba207d6bc 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -367,5 +367,10 @@ $oc->{buttons}{N("Help")}->set_sensitive(0);
$oc->{cancel}->can_default(1);
$oc->{cancel}->grab_default;
+if (!-x '/usr/sbin/msec') {
+ require do_pkgs;
+ do_pkgs_standalone->new->install('msec');
+}
+
$w->main;
ugtk2->exit(0);