summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-22 07:39:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-22 07:39:59 +0000
commit0d5f0cdfa4f111f0e72f07bab8a660942401e80f (patch)
tree3e5a30449f4ca5fe9630fdf587c1c9d34d87a418 /perl-install/standalone.pm
parent8f74cf0f591abf4c9ff4186b5d24c72f4f9b1900 (diff)
downloaddrakx-0d5f0cdfa4f111f0e72f07bab8a660942401e80f.tar
drakx-0d5f0cdfa4f111f0e72f07bab8a660942401e80f.tar.gz
drakx-0d5f0cdfa4f111f0e72f07bab8a660942401e80f.tar.bz2
drakx-0d5f0cdfa4f111f0e72f07bab8a660942401e80f.tar.xz
drakx-0d5f0cdfa4f111f0e72f07bab8a660942401e80f.zip
(rename) only log succesfull renamings
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 0681d2f2d..13c7e5215 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -283,7 +283,7 @@ sub symlink {
}
sub rename {
- explanations "renamed file $_[0] to $_[1]";
+ explanations "renamed file $_[0] to $_[1]" if -r $_[0];
CORE::rename($_[0], $_[1]);
}