summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/xfreeX.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/xfreeX.pm b/perl-install/Xconfig/xfreeX.pm
index 977de104a..17c9c3264 100644
--- a/perl-install/Xconfig/xfreeX.pm
+++ b/perl-install/Xconfig/xfreeX.pm
@@ -23,6 +23,7 @@ sub read {
sub write {
my ($raw_X, $file) = @_;
$file ||= ($::prefix || '') . $raw_X->config_file;
+ rename $file, "$file.old";
Xconfig::parse::write_XF86Config($raw_X, $file);
}