--- trunk/mage/usr/lib/mage/mage4.functions.sh 2007/06/30 15:31:46 499 +++ trunk/mage/usr/lib/mage/mage4.functions.sh 2007/06/30 15:38:50 501 @@ -1,6 +1,6 @@ #!/bin/bash # Magellan Linux Installer Functions (mage.functions.sh) -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.32 2007-06-30 15:31:46 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.33 2007-06-30 15:38:50 niro Exp $ mage_setup() { @@ -2340,7 +2340,7 @@ echo -ne "${COLBLUE} --- ${COLDEFAULT}" echo -ne "${COLBOLD}${can_pcat}/${can_pname}:${COLDEFAULT}" echo -e "${COLRED} ${can_ver_list} ${COLDEFAULT}" - echo [04] app-emulation/virtualbox-1.4.0-r3 + echo if [ ${MAGE_UNINSTALL_TIMEOUT} -gt 0 ] then echo -ne "${COLBLUE} --- ${COLDEFAULT}" @@ -2406,19 +2406,19 @@ for i in $* do case $1 in - --pcat|-c) shift; pcat="$1" ;; [04] app-emulation/virtualbox-1.4.0-r3 + --pcat|-c) shift; pcat="$1" ;; --pname|-n) shift; pname="$1" ;; --pver|-v) shift; pver="$1" ;; - --pbuild|-b) shift; pbuild="$1" ;; [04] app-emulation/virtualbox-1.4.0-r3 + --pbuild|-b) shift; pbuild="$1" ;; esac shift - done [04] app-emulation/virtualbox-1.4.0-r3 + done # sanity checks; abort if not given - [ -z "${pcat}" ] && die "mage_uninstall() \$pcat not given." [04] app-emulation/virtualbox-1.4.0-r3 + [ -z "${pcat}" ] && die "mage_uninstall() \$pcat not given." [ -z "${pname}" ] && die "mage_uninstall() \$pname not given." [ -z "${pver}" ] && die "mage_uninstall() \$pver not given." - [ -z "${pbuild}" ] && die "mage_uninstall() \$pbuild not given." [04] app-emulation/virtualbox-1.4.0-r3 + [ -z "${pbuild}" ] && die "mage_uninstall() \$pbuild not given." # check needed global vars [ -z "${MAGEDIR}" ] && die "mage_uninstall() \$MAGEDIR not set."