From: Chris Gianelloni Date: Wed, 9 Aug 2006 14:44:38 +0000 (+0000) Subject: Added code to make a backup of custom.conf before we edit it for the installer. X-Git-Tag: CATALYST_2_0_6_916~326 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4e02fec30951c65bb161bde4ac827c5497226c4;p=catalyst.git Added code to make a backup of custom.conf before we edit it for the installer. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1168 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 1a9ecc64..01b3c017 100644 --- 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 + 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 catalyst, targets/support/livecdfs-update.sh: diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 52d3333d..764c7656 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -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:' \