forked from extern/docker
Merge pull request #119 from fmp-msu/fix/freeswitch-package-name
Fix freeswitch package names for languages with uppercase characters in the path
This commit is contained in:
commit
09a47e9e72
@ -36,7 +36,7 @@ if [ "$SOUNDS_LANGUAGE" == "de-de-daedalus3" ]; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
SOUNDS_PACKAGE=freeswitch-sounds-${SOUNDS_LANGUAGE}
|
SOUNDS_PACKAGE=$(echo "freeswitch-sounds-${SOUNDS_LANGUAGE}" | tr '[:upper:]' '[:lower:]')
|
||||||
if ! dpkg -s $SOUNDS_PACKAGE >/dev/null 2>&1; then
|
if ! dpkg -s $SOUNDS_PACKAGE >/dev/null 2>&1; then
|
||||||
echo "sounds package for $SOUNDS_LANGUAGE not installed yet"
|
echo "sounds package for $SOUNDS_LANGUAGE not installed yet"
|
||||||
apt-get install $SOUNDS_PACKAGE
|
apt-get install $SOUNDS_PACKAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user