summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-28 11:35:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-28 11:35:19 +0000
commit065b758607e868b026bd94d32bf70ddd609c410d (patch)
treef1b6b67abd57ee742937cdda6464136cedd677c2 /perl-install
parentc5741a7b71d461edf72b32e08a7154885e567e3e (diff)
downloaddrakx-backup-do-not-use-065b758607e868b026bd94d32bf70ddd609c410d.tar
drakx-backup-do-not-use-065b758607e868b026bd94d32bf70ddd609c410d.tar.gz
drakx-backup-do-not-use-065b758607e868b026bd94d32bf70ddd609c410d.tar.bz2
drakx-backup-do-not-use-065b758607e868b026bd94d32bf70ddd609c410d.tar.xz
drakx-backup-do-not-use-065b758607e868b026bd94d32bf70ddd609c410d.zip
(remove_advertising): ensure removing /tmp/drakx-images can't fail
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index eaf632f9a..4461e4815 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1043,7 +1043,7 @@ sub copy_advertising {
sub remove_advertising {
my ($o) = @_;
- rm_rf("$o->{prefix}/tmp/drakx-images");
+ eval { rm_rf("$o->{prefix}/tmp/drakx-images") };
@advertising_images = ();
}