cleanup: this install script

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent dc1e2fec2c
commit 84c96c3879

@ -1160,17 +1160,22 @@ script_readme
__EOF__
cat > ${TEMPDIR}/minimal_xfce.sh <<basic_xfce
#!/bin/sh
cat > ${TEMPDIR}/minimal_xfce.sh <<-__EOF__
#!/bin/sh
sudo apt-get update
if lsb_release -c | grep -E 'oneiric|precise' ; then
sudo apt-get -y install xubuntu-desktop
else
sudo apt-get -y install xfce4 gdm xubuntu-gdm-theme xubuntu-artwork xserver-xorg-video-omap3 network-manager
fi
sudo apt-get update
if lsb_release -c | grep -E 'oneiric|precise|quantal' ; then
sudo apt-get -y install xubuntu-desktop
else
sudo apt-get -y install xfce4 gdm xubuntu-gdm-theme xubuntu-artwork xserver-xorg-video-omap3 network-manager
fi
echo "Disabling eth0 in /etc/network/interfaces so xfce's network-manager works"
sudo sed -i 's/auto eth0/#auto eth0/g' /etc/network/interfaces
sudo sed -i 's/allow-hotplug eth0/#allow-hotplug eth0/g' /etc/network/interfaces
sudo sed -i 's/iface eth0 inet dhcp/#iface eth0 inet dhcp/g' /etc/network/interfaces
basic_xfce
__EOF__
cat > ${TEMPDIR}/xorg.conf <<-__EOF__
Section "Device"

Loading…
Cancel
Save