summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-13 00:05:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-13 00:05:51 +0000
commitd39a2a6574b0506ada086f096b05b80e9b156ec2 (patch)
tree49c34ed68d626c98c788cc4b66aaa62f1009c34b /perl-install/install_any.pm
parentd500c7d827531b45bf5520162866930d3cac9ea8 (diff)
downloaddrakx-d39a2a6574b0506ada086f096b05b80e9b156ec2.tar
drakx-d39a2a6574b0506ada086f096b05b80e9b156ec2.tar.gz
drakx-d39a2a6574b0506ada086f096b05b80e9b156ec2.tar.bz2
drakx-d39a2a6574b0506ada086f096b05b80e9b156ec2.tar.xz
drakx-d39a2a6574b0506ada086f096b05b80e9b156ec2.zip
renamef created and used
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 041df95b9..f5f77a3d1 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -518,8 +518,8 @@ sub kdemove_desktop_file {
#- remove any existing save in Trash of each user and
#- move appropriate file there after an upgrade.
foreach my $dir (grep { -d $_ } list_skels($prefix, 'Desktop')) {
- unlink("$dir/Trash/$_") && rename("$dir/$_", "$dir/Trash/$_")
- foreach grep { -e "$dir/$_" } @toMove, grep { /\.rpmorig$/ } all($dir)
+ renamef("$dir/$_", "$dir/Trash/$_")
+ foreach grep { -e "$dir/$_" } @toMove, grep { /\.rpmorig$/ } all($dir)
}
}