summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-09 14:17:21 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-09 14:17:21 +0000
commit3b29f9c55564c106f0b63054d63ec752e724d1a5 (patch)
tree37b1c52721c122d28b208846d492e4e55fcab205
parentbc34e434a12b4020e236cb2304a256298615f6dc (diff)
downloaddrakx-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar
drakx-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.gz
drakx-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.bz2
drakx-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.xz
drakx-3b29f9c55564c106f0b63054d63ec752e724d1a5.zip
(bug_handler) do a "normal" die if drakbug is not present
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/standalone.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d5cd0f762..89ccd3163 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- do a normal die if drakbug is not present
+
Version 10.4.163 - 9 August 2007, by Pascal "Pixel" Rigaux
- for XFdrake: use update-alternatives command instead doing things by hand
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 485d3cf29..62ff33c59 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -207,7 +207,7 @@ sub bug_handler {
my $progname = $0;
# do not loop if drakbug crashes and do not complain about wizcancel:
- if ($progname =~ /drakbug/ || $error =~ /wizcancel/) {
+ if ($progname =~ /drakbug/ || $error =~ /wizcancel/ || !-x '/usr/bin/drakbug') {
warn $error;
exit(1);
}