#!/bin/bash
# A small bash script for installing CrunchBang Linux 8.10.01
# Run as root (sudo ./crunchbang-installer.sh)
#------------------------------------------------------------------------

#Add CrunchBang Repository
#=========================
wget http://crunchbang.net/packages-8.10.xx/crunchbang.list -O /etc/apt/sources.list.d/crunchbang.list
wget -q http://crunchbang.net/crunchbang.key -O- | apt-key add - && apt-get update

#Add Medibuntu Repository
#========================
wget http://www.medibuntu.org/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/medibuntu.list
apt-get update && apt-get install medibuntu-keyring && apt-get update

apt-get install -y xorg openbox openbox-logout-script-basic obconf obmenu network-manager-gnome dmz-cursor-theme hicolor-icon-theme tint2 gmrun pcmanfm gpicview xdg-user-dirs jockey-gtk gtk-chtheme acpi-support alsa-base wireless-tools ndiswrapper-common ndiswrapper-utils-1.9 wpasupplicant xcompmgr synaptic lxrandr kazehakase leafpad vlc-nox vlc libdvdcss2 trayer gworldclock file-roller gnome-media system-config-printer-gnome evince cups-pdf gnome-screensaver terminator gtk2-engines-murrine gnome-system-tools acpi acpi-support acpid apmd alsa-utils bc ca-certificates dbus remastersys usplash-theme-crunchbang crunchbang-look gdm hal hotkey-setup libpam-ck-connector libsasl2-modules pcmciautils policykit-gnome powermanagement-interface readahead screen gnome-power-manager laptop-detect make unrar msttcorefonts libmp3lame0 notification-daemon powernowd seahorse ssh-askpass-gnome lha sharutils lzop rpm genisoimage tango-icon-theme tango-icon-theme-extras conky nitrogen gdebi gparted gnome-network-admin gnome-utils scrot cowsay figlet htop dwm-tools transset adobe-flashplugin parcellite
apt-get install -y crunchbang-lite-datafiles
apt-get clean

echo "Installation complete. Thank you for installing CrunchBang Linux."
echo "You might want to consider rebooting your system."
echo ""
echo "Issue the following command to reboot:"
echo ""
echo "    \$ sudo reboot now"
echo ""

exit 0
