Merge pull request #1046 from paddatrapper/installer

Force fixed strings on grep for media-monitor
This commit is contained in:
Lucas Bickel 2020-11-30 21:42:09 +01:00 committed by GitHub
commit 63db4e0b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ loudCmd "./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
OLD_CONF=$(grep "[media-monitor]" /etc/airtime/airtime.conf)
OLD_CONF=$(grep -F "[media-monitor]" /etc/airtime/airtime.conf || true)
if [ -n "${OLD_CONF}" ]; then
upgrade="t"