summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 16:28:16 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 16:28:16 +0000
commit107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6 (patch)
tree0745ff5b509eb5229567db672b50568b02ffbebf
parentff140d42c4f3a155726151f8ec3537625ea97262 (diff)
downloaddrakx-107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6.tar
drakx-107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6.tar.gz
drakx-107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6.tar.bz2
drakx-107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6.tar.xz
drakx-107f25bb81746a4ee9ed13f5f6c1ba712a2e14b6.zip
do not continue if installing msec crashed or was canceled (#38911)
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/draksec2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 24274f720..99e8fd522 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,7 @@
- do not write aliases for asus_acpi and thinkpad_acpi in
modprobe.preload, the modules are now handled by coldplug
+- draksec
+ o do not continue if installing msec crashed or was canceled (#38911)
Version 10.15 - 14 March 2008
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 6a97b93e1..3b6a94559 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -462,7 +462,7 @@ $oc->{buttons}{N("Help")}->set_sensitive(0);
$oc->{cancel}->can_default(1);
$oc->{cancel}->grab_default;
-$in->do_pkgs->ensure_is_installed('msec', '/usr/sbin/msec');
+exit(1) if !$in->do_pkgs->ensure_is_installed('msec', '/usr/sbin/msec');
$w->main;
ugtk2->exit(0);