18 |
} |
} |
19 |
|
|
20 |
# include all needed files |
# include all needed files |
21 |
[ -f /etc/mage.rc.global ] && \ |
source @@SYSCONFDIR@@/mage.rc.global || die "@@SYSCONFDIR@@/mage.rc.global missing" |
22 |
source /etc/mage.rc.global || \ |
source ${MAGERC} || die "Your ${MAGERC} is missing. Aborting." |
23 |
die "/etc/mage.rc.global missing" |
source ${MLIBDIR}/mage4.functions.sh || die "mage functions missing" |
24 |
|
source ${MLIBDIR}/smage2.functions.sh || die "smage functions missing" |
|
[ -f ${MAGERC} ] && source ${MAGERC} || \ |
|
|
die "Your ${MAGERC} is missing. Aborting." |
|
|
|
|
|
[ -f ${MLIBDIR}/mage4.functions.sh ] && \ |
|
|
source ${MLIBDIR}/mage4.functions.sh || \ |
|
|
die "mage functions missing" |
|
|
|
|
|
[ -f ${MLIBDIR}/smage2.functions.sh ] && \ |
|
|
source ${MLIBDIR}/smage2.functions.sh || \ |
|
|
die "smage functions missing" |
|
25 |
|
|
26 |
usage() |
usage() |
27 |
{ |
{ |