Added code to make a backup of custom.conf before we edit it for the installer.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 9 Aug 2006 14:44:38 +0000 (14:44 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 9 Aug 2006 14:44:38 +0000 (14:44 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1168 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/livecdfs-update.sh

index 1a9ecc645d44fa7af027013c972429ccc9a9908a..01b3c017e8a664dfc0103789cdb46f5717521cc1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.652 2006/07/29 18:35:06 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.653 2006/08/09 14:44:38 wolf31o2 Exp $
+
+  09 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/livecdfs-update.sh:
+  Added code to make a backup of custom.conf before we edit it for the installer.
 
   29 Jul 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
   targets/support/livecdfs-update.sh:
index 52d3333d42548eb81c82db9551396a38fe616d73..764c765635c81a4259ca6c444e66ce0e3bb0bbfc 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.58 2006/07/29 18:35:07 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.59 2006/08/09 14:44:38 wolf31o2 Exp $
 
 . /tmp/chroot-functions.sh
 
@@ -282,6 +282,8 @@ case ${clst_livecd_type} in
                                        sedxtra=""
                                fi
 
+                               cp -f /etc/X11/gdm/custom.con /etc/X11/gdm/custom.conf.old
+
                                sed     -i \
                                        -e "s:\(\[daemon\]\)$:\1\nTimedLoginEnable=true\nTimedLoginDelay=10${sedxtra}:" \
                                        -e 's:\(\[greeter\]\)$:\1\nGraphicalTheme=gentoo-emergence:' \