#!/bin/sh # # Reconstructor Module - Sum - Start up manager # Copyright (c) 2006 Reconstructor Team # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. RMOD_ENGINE=1.0 RMOD_CATEGORY='Software' RMOD_SUBCATEGORY='Administrative' RMOD_NAME='Sum' RMOD_AUTHOR='TheeMahn' RMOD_VERSION=0.7 RMOD_DESCRIPTION='Installs Sum - Startup manager.' RMOD_RUN_IN_CHROOT=True RMOD_UPDATE_URL='http://ubuntusoftware.info/rmods/' echo Running $RMOD_NAME... # Are we running on edgy? if ( ! grep "Ubuntu 6.10" /etc/issue >/dev/null 2>&1); then echo "This Module is currently only intended for Ubuntu 6.10 Edgy Eft please check back." exit 1 fi #backup sources list & modify cp /etc/apt/sources.list /etc/apt/ubuntu.bak echo "deb http://ubuntusoftware.info/ edgy all">>/etc/apt/sources.list #update list apt-get update #purge newer if exists //doen't fully work as old version does. apt-get remove --purge startupmanager-gtk startupmanager-base sum #grab n install it apt-get install -y --allow-unauthenticated grub-splashimages kubuntu-grub-splashimages startupmanager imagemagick #restore list cp /etc/apt/ubuntu.bak /etc/apt/sources.list # clean cache rm /etc/apt/ubuntu.bak apt-get clean apt-get autoclean echo $RMOD_NAME Finished...