Fix the display manager sed lines and change the icon for the local Handbook to use...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 27 Dec 2006 17:37:06 +0000 (17:37 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 27 Dec 2006 17:37:06 +0000 (17:37 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1201 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/chroot-functions.sh
targets/support/livecdfs-update.sh

index 12a8f37512afafdf8a567303323b21bc6670c3b7..2c07894dab883c095b81375f64e0b81a906b85bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.664 2006/10/02 20:41:53 wolf31o2 Exp $
 
+  27 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/chroot-functions.sh, targets/support/livecdfs-update.sh:
+  Fix the display manager sed lines and change the icon for the local Handbook
+  to use the GNOME 2.16 icon for gedit.
+
   27 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   modules/generic_stage_target.py:
   Changed the portage_overlay option to always install overlays in
index 103e2b7687e3ab7eb02ce7d4326cf41f1a78f2ce..edf6c6d9f3861d02c405156cbadfa0d234898ec7 100755 (executable)
@@ -261,5 +261,5 @@ Terminal=false
 Name=Gentoo Linux Handbook
 GenericName=Gentoo Linux Handbook
 Comment=This is a link to the local copy of the Gentoo Linux Handbook.
-Icon=gedit-icon.png" > /usr/share/applications/gentoo-handbook.desktop
+Icon=text-editor" > /usr/share/applications/gentoo-handbook.desktop
 }
index 2e6035586bd4f8b622cf2b55f10b84e224b0e52e..2fb7f6a695f0f1b8f0854c282ca54d3ac852f0e1 100755 (executable)
@@ -129,9 +129,12 @@ fi
 # Setup configured display manager
 if [ -n "${clst_livecd_xdm}" ]
 then
-       sed -i "s:#DISPLAYMANAGER=\"xdm\":DISPLAYMANAGER=\"${clst_livecd_xdm}\":" \
+       sed -i \
+               -e "s:DISPLAYMANAGER=\"xdm\":DISPLAYMANAGER=\"${clst_livecd_xdm}\":" \
+               -e ":^DISPLAYMANAGER: s:^#::" \
                /etc/rc.conf
-       sed -i "s:#DISPLAYMANAGER=\"xdm\":DISPLAYMANAGER=\"${clst_livecd_xdm}\":" \
+       sed -i \
+               -e "s:DISPLAYMANAGER=\"xdm\":DISPLAYMANAGER=\"${clst_livecd_xdm}\":" \
                /etc/conf.d/xdm
 fi