Merge pull request #1046 from paddatrapper/installer
Force fixed strings on grep for media-monitor
This commit is contained in:
commit
63db4e0b89
2
install
2
install
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue