summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-18 12:45:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-18 12:45:33 +0000
commit12a9709051a3147b0b313aed1fa749e45d19d85b (patch)
tree2968d018271e1a5c6a8de61bc48d0c71b68de28c /perl-install/Xconfig
parent4ee0ed853699504355d31db04d2d7d134fe64073 (diff)
downloaddrakx-12a9709051a3147b0b313aed1fa749e45d19d85b.tar
drakx-12a9709051a3147b0b313aed1fa749e45d19d85b.tar.gz
drakx-12a9709051a3147b0b313aed1fa749e45d19d85b.tar.bz2
drakx-12a9709051a3147b0b313aed1fa749e45d19d85b.tar.xz
drakx-12a9709051a3147b0b313aed1fa749e45d19d85b.zip
simplify
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/xfree.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index 5729fd84b..e65948dc2 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -37,8 +37,7 @@ sub write {
if (-l $_) {
unlink $_;
} else {
- unlink "$_.old";
- rename $_, "$_.old"; #- there will not be any XF86Config nor XF86Config-4 anymore, we want this!
+ renamef($_, "$_.old"); #- there will not be any XF86Config nor XF86Config-4 anymore, we want this!
}
}
#- keep it for old programs still using this name