gentoo-asahi-releng/scripts/2006.1/livecd.sh
Chris Gianelloni db3ff05aa2 Remove the portage overlay from make.conf and the file-system.
svn path=/trunk/; revision=222
2006-09-18 22:47:06 +00:00

18 lines
527 B
Bash

#!/bin/bash
if [ -e /etc/X11/gdm/custom.conf ]
then
sed -e '/^[^#]\+=.\+$/d' /etc/X11/gdm/custom.conf > \
/etc/X11/gdm/custom.conf.old
sed -i -e 's/gentoo-emergence/gentoo-livecd-2006.1/' \
/etc/X11/gdm/custom.conf
fi
gconftool-2 --direct \
--config-source xml:readwrite:/usr/livecd/gconf/gconf.xml.defaults \
--type string --set /desktop/gnome/background/picture_filename \
/usr/share/pixmaps/gentoo-livecd-2006.1/gentoo-livecd-2006.1-1024x768.png
sed -i '/^PORTDIR_OVERLAY/d' /etc/make.conf
rm -rf /root/catalyst