#!/bin/bash source /etc/functions.magic ### # Gentoox Loader installation script # Copyright (C) Thomas "ShALLaX" Pedley (gentoox@shallax.com) # # 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ### $important clear echo "This will update Gentoox loader." echo "Gentoox loader is based upon Cromwell." sleep 5 $busy clear echo -n "Removing old loader... " mkdir -p /mnt/fatx/e 1> /dev/null 2> /dev/null mount /dev/hda50 /mnt/fatx/e 2> /dev/null 2> /dev/null cd /mnt/fatx/e rm -rf ./gentooxx.xbe echo "Done" echo -n "Getting new loader... " $downloading $wget --limit-rate $limitrate $gentooxurl/patch-files/gentooxx.xbe.bz2 1> /dev/null 2> /dev/null failCheck download echo "Done" $busy echo -n "Installing new loader... " bunzip2 gentooxx.xbe.bz2 failCheck decompress echo "Done" clear echo "All done" sleep 2 clear