From 9d672ab3740298e5243b0cfd9e56e8e6444f0426 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Mon, 14 May 2012 18:44:23 -0400 Subject: [PATCH] CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder -was using PHP syntax :/ -remove error checking around grep process --- install_minimal/airtime-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_minimal/airtime-install b/install_minimal/airtime-install index 0b73569b1..51627b188 100755 --- a/install_minimal/airtime-install +++ b/install_minimal/airtime-install @@ -186,10 +186,12 @@ fi set -e echo "* Making sure /etc/default/locale is set properly" +set +e update-locale cat /etc/default/locale | grep -i "LANG=.*UTF-\?8" +set -e if [ "$?" != "0" ]; then - echo "non UTF-8 default locale found in /etc/default/locale.".PHP_EOL; + echo "non UTF-8 default locale found in /etc/default/locale." exit 1 fi