From 12a9709051a3147b0b313aed1fa749e45d19d85b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 18 Mar 2005 12:45:33 +0000 Subject: simplify --- perl-install/Xconfig/xfree.pm | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1