1 |
#!/bin/bash |
#!/bin/bash |
2 |
|
# $Id$ |
3 |
#depwalker |
# dependeny walker |
|
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.10 2008-03-26 15:58:25 niro Exp $ |
|
4 |
|
|
5 |
# default die function |
# default die function |
6 |
die() |
die() |
142 |
DFILE="$1" |
DFILE="$1" |
143 |
|
|
144 |
source ${DFILE} |
source ${DFILE} |
145 |
|
|
146 |
|
# forced nodeps |
147 |
|
if [[ ${NODEPS} = true ]] |
148 |
|
then |
149 |
|
DEPEND="" |
150 |
|
SDEPEND="" |
151 |
|
fi |
152 |
|
|
153 |
MY_DEPEND="${DEPEND}" |
MY_DEPEND="${DEPEND}" |
154 |
|
|
155 |
# for srcinstall & srcdepend only; SDEPEND also needed |
# for srcinstall & srcdepend only; SDEPEND also needed |
335 |
echo |
echo |
336 |
echo -e "${COLRED}Please consider to uninstall all of them first,${COLDEFAULT}" |
echo -e "${COLRED}Please consider to uninstall all of them first,${COLDEFAULT}" |
337 |
echo -e "${COLRED}because these packages does not exist in this distribution${COLDEFAULT}" |
echo -e "${COLRED}because these packages does not exist in this distribution${COLDEFAULT}" |
338 |
echo -e "${COLRED}and there will be no further updates or support for them.${COLDEFAULT}" |
echo -e "${COLRED}anymore and there will be no further support for them.${COLDEFAULT}" |
339 |
echo |
echo |
340 |
fi |
fi |
341 |
fi |
fi |