2019-07-09 21:32:39 -04:00
|
|
|
#!/bin/bash -e
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
export MINT_ROOT_DIR=${MINT_ROOT_DIR:-/mint}
|
|
|
|
export MINT_RUN_CORE_DIR="$MINT_ROOT_DIR/run/core"
|
2021-03-05 22:15:42 -05:00
|
|
|
export MINT_RUN_BUILD_DIR="$MINT_ROOT_DIR/build"
|
2019-07-09 21:32:39 -04:00
|
|
|
export MINT_RUN_SECURITY_DIR="$MINT_ROOT_DIR/run/security"
|
|
|
|
export WGET="wget --quiet --no-check-certificate"
|
|
|
|
|
2019-07-11 14:45:57 -04:00
|
|
|
"${MINT_ROOT_DIR}"/create-data-files.sh
|
|
|
|
"${MINT_ROOT_DIR}"/preinstall.sh
|
2019-07-09 21:32:39 -04:00
|
|
|
|
|
|
|
# install mint app packages
|
|
|
|
for pkg in "$MINT_ROOT_DIR/build"/*/install.sh; do
|
|
|
|
echo "Running $pkg"
|
|
|
|
$pkg
|
|
|
|
done
|
|
|
|
|
2019-07-11 14:45:57 -04:00
|
|
|
"${MINT_ROOT_DIR}"/postinstall.sh
|