2 |
|
|
3 |
BUILDSERVER_CACHE_DIR="/var/cache/mage-buildserver" |
BUILDSERVER_CACHE_DIR="/var/cache/mage-buildserver" |
4 |
SMAGEFILE="$1" |
SMAGEFILE="$1" |
5 |
|
LINT_CHECKS=1 |
6 |
|
|
7 |
if [ -f /etc/rc.d/init.d/functions ] |
if [ -f /etc/rc.d/init.d/functions ] |
8 |
then |
then |
167 |
regen_mage_tree |
regen_mage_tree |
168 |
# restore STATE |
# restore STATE |
169 |
STATE="${BUILDSERVER_SAVED_STATE}" |
STATE="${BUILDSERVER_SAVED_STATE}" |
170 |
|
if [[ ${LINT_CHECKS} = 1 ]] |
171 |
|
then |
172 |
|
/usr/lib/mage-buildserver/buildserver-lint.sh ${SMAGEFILE} |
173 |
|
fi |
174 |
if install_packages ${SRC_INSTALL_DEPS} || die "installing packages" |
if install_packages ${SRC_INSTALL_DEPS} || die "installing packages" |
175 |
then |
then |
176 |
install_retval=0 |
install_retval=0 |