Replace build.sh with make to manage airtime_mvc

This commit is contained in:
jo 2021-09-11 04:45:07 +02:00
parent f161fb0e0a
commit 9a7c3e0d21
6 changed files with 45 additions and 43 deletions

View file

@ -797,8 +797,9 @@ if [[ ! ${commandFound} -eq 0 ]]; then
PATH="${PATH}:/usr/local/bin"
fi
# Run composer (install PHP dependencies) and create a VERSION file
loudCmd "bash ./build.sh"
make VERSION # Create a VERSION file
make -C airtime_mvc build # Install php dependencies with composer
if [ -f /etc/airtime/airtime.conf ]; then
# TODO use VERSION or some other way to check for updates and handle
# media-monitor case on it's own