diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-12 21:50:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-12 21:50:09 +0000 |
commit | a300aa3c29e807051cad181a690ad48b274ec46a (patch) | |
tree | 8613ae7bfd6eee49fa12e719947aa6261a81e5e8 /perl-install/Xconfig | |
parent | 56dbe3500ec38d61a3fd9c46f0b1b7aab38c843e (diff) | |
download | drakx-backup-do-not-use-a300aa3c29e807051cad181a690ad48b274ec46a.tar drakx-backup-do-not-use-a300aa3c29e807051cad181a690ad48b274ec46a.tar.gz drakx-backup-do-not-use-a300aa3c29e807051cad181a690ad48b274ec46a.tar.bz2 drakx-backup-do-not-use-a300aa3c29e807051cad181a690ad48b274ec46a.tar.xz drakx-backup-do-not-use-a300aa3c29e807051cad181a690ad48b274ec46a.zip |
create a backup of XF86Config (XF86Config.old)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/xfreeX.pm | 1 |
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); } |