- fix setup errors
This commit is contained in:
@@ -7,7 +7,8 @@ INSTALL_DIR=agent_gsm
|
||||
GIT_SOURCE=https://git.sevana.biz/public/agent_gsm_redist
|
||||
|
||||
# Install prerequisites
|
||||
sudo apt install git mc python3 sox vim
|
||||
sudo apt install git mc python3 sox vim libffi-dev
|
||||
sudo pip3 install pyyaml sox pyrabbit soundfile dbus_python pexpect pydub requests
|
||||
|
||||
if [ -f "$INSTALL_DIR" ]; then
|
||||
rm -rf "$INSTALL_DIR"
|
||||
@@ -32,7 +33,7 @@ cp config/agent.in.yaml config/agent.yaml
|
||||
|
||||
# Replace the values
|
||||
if [[ $BACKEND_URL != "" ]]; then
|
||||
sed -i "s|BACKEND_URL|$BACKEND_URL|" config/agent.yaml
|
||||
sed -i "s|BACKEND|$BACKEND|" config/agent.yaml
|
||||
fi
|
||||
|
||||
if [[ $PHONE_NAME != "" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user