diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-09 14:17:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-09 14:17:21 +0000 |
commit | 3b29f9c55564c106f0b63054d63ec752e724d1a5 (patch) | |
tree | 37b1c52721c122d28b208846d492e4e55fcab205 /perl-install | |
parent | bc34e434a12b4020e236cb2304a256298615f6dc (diff) | |
download | drakx-backup-do-not-use-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar drakx-backup-do-not-use-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.gz drakx-backup-do-not-use-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.bz2 drakx-backup-do-not-use-3b29f9c55564c106f0b63054d63ec752e724d1a5.tar.xz drakx-backup-do-not-use-3b29f9c55564c106f0b63054d63ec752e724d1a5.zip |
(bug_handler) do a "normal" die if drakbug is not present
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/standalone.pm | 2 |
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); } |