Fixing a permission bug in the install script.

On a fresh Ubuntu 18.04 install, the script stops when trying to execute `build.sh`. Calling `bash` to launch the script fixes the issue.
This commit is contained in:
Marc-Alexandre Espiaut 2021-08-24 08:00:16 +00:00 committed by GitHub
parent 0c76ed72fb
commit 44e654bc95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,7 @@ if [[ ! ${commandFound} -eq 0 ]]; then
fi
# Run composer (install PHP dependencies) and create a VERSION file
loudCmd "./build.sh"
loudCmd "bash ./build.sh"
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