1 |
#!/bin/bash |
#!/bin/bash |
2 |
|
|
3 |
#depwalker |
#depwalker |
4 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.10 2008-03-26 15:58:25 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.11 2008-10-05 10:33:36 niro Exp $ |
5 |
|
|
6 |
# default die function |
# default die function |
7 |
die() |
die() |
143 |
DFILE="$1" |
DFILE="$1" |
144 |
|
|
145 |
source ${DFILE} |
source ${DFILE} |
146 |
|
|
147 |
|
# forced nodeps |
148 |
|
if [[ ${NODEPS} = true ]] |
149 |
|
then |
150 |
|
DEPEND="" |
151 |
|
SDEPEND="" |
152 |
|
fi |
153 |
|
|
154 |
MY_DEPEND="${DEPEND}" |
MY_DEPEND="${DEPEND}" |
155 |
|
|
156 |
# for srcinstall & srcdepend only; SDEPEND also needed |
# for srcinstall & srcdepend only; SDEPEND also needed |
336 |
echo |
echo |
337 |
echo -e "${COLRED}Please consider to uninstall all of them first,${COLDEFAULT}" |
echo -e "${COLRED}Please consider to uninstall all of them first,${COLDEFAULT}" |
338 |
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}" |
339 |
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}" |
340 |
echo |
echo |
341 |
fi |
fi |
342 |
fi |
fi |