1 |
#!/bin/bash |
#!/bin/bash |
2 |
# Magellan Linux Installer Functions (mage.functions.sh) |
# Magellan Linux Installer Functions (mage.functions.sh) |
3 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage3.functions.sh,v 1.11 2005-07-31 14:15:59 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage3.functions.sh,v 1.15 2005-07-31 18:50:19 niro Exp $ |
4 |
|
|
5 |
mage_setup() { |
mage_setup() { |
6 |
install -d $INSTALLDB |
install -d $INSTALLDB |
1362 |
then |
then |
1363 |
for i in $@ |
for i in $@ |
1364 |
do |
do |
1365 |
echo "--- including ${MAGEDIR}/include/${i}.incl" |
[[ ${MAGEDEBUG} = on ]] && \ |
1366 |
|
echo "--- Including ${MAGEDIR}/include/${i}.minc" |
1367 |
source ${MAGEDIR}/include/${i}.minc |
source ${MAGEDIR}/include/${i}.minc |
1368 |
done |
done |
1369 |
|
[[ ${MAGEDEBUG} = on ]] && echo |
1370 |
fi |
fi |
1371 |
} |
} |
1372 |
|
|
1377 |
then |
then |
1378 |
for i in $@ |
for i in $@ |
1379 |
do |
do |
1380 |
echo "--- including ${SMAGESCRIPTSDIR}/include/${i}.incl" |
echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc" |
1381 |
source ${SMAGESCRIPTSDIR}/include/${i}.sminc |
source ${SMAGESCRIPTSDIR}/include/${i}.sminc |
1382 |
done |
done |
1383 |
|
echo |
1384 |
fi |
fi |
1385 |
} |
} |
1386 |
|
|