summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-03 11:08:19 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-03 11:08:19 +0000
commit0f91e019e84e1cc55b224ebb4b81eccaf63eecbe (patch)
tree714a8e4e4358d13724558a1ca46a93139648d77e /perl-install/install_any.pm
parent0ac2e5eb18fa2468e906f1835773d8d839ffa9fe (diff)
downloaddrakx-backup-do-not-use-0f91e019e84e1cc55b224ebb4b81eccaf63eecbe.tar
drakx-backup-do-not-use-0f91e019e84e1cc55b224ebb4b81eccaf63eecbe.tar.gz
drakx-backup-do-not-use-0f91e019e84e1cc55b224ebb4b81eccaf63eecbe.tar.bz2
drakx-backup-do-not-use-0f91e019e84e1cc55b224ebb4b81eccaf63eecbe.tar.xz
drakx-backup-do-not-use-0f91e019e84e1cc55b224ebb4b81eccaf63eecbe.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-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 7f88ead98..2ef837916 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -175,7 +175,7 @@ sub setup_postinstall_rpms($$) {
commands::cp((map { "/tmp/rhimage/" . relGetFile(pkgs::packageFile($_)) } @toCopy), $postinstall_rpms);
}
sub clean_postinstall_rpms() {
- $postinstall_rpms and commands::rm('-rf', $postinstall_rpms);
+ $postinstall_rpms and -d $postinstall_rpms and commands::rm('-rf', $postinstall_rpms);
}
#-######################################################################################