--- trunk/mage/usr/lib/mage/mage4.sh 2006/04/27 11:52:59 370 +++ trunk/mage/usr/lib/mage/mage4.sh 2006/04/27 14:51:30 372 @@ -1,6 +1,6 @@ #!/bin/sh # Magellan Linux Installer (mage.sh) -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.sh,v 1.13 2006-04-27 11:52:59 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.sh,v 1.14 2006-04-27 14:51:30 niro Exp $ # default die function die() @@ -153,8 +153,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on @@ -183,8 +183,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on @@ -212,8 +212,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on @@ -248,8 +248,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on @@ -290,8 +290,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on @@ -380,8 +380,8 @@ # source the highest magefile of this pkg PKGNAME=$(get_value_from_magefile PKGNAME $(get_highest_magefile ${PCAT} ${MAGENAME})) - # package does not exists - [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' does not exist." + # package is masked + [ -z "${PKGNAME}" ] && die "Package '${MAGENAME}' is masked and not available for installation." # convert PKGNAME to PNAME/PVER/PBUILD # we're working *only* with these three vars from here on