- add screen package to dependencies

This commit is contained in:
Dmytro Bogovych 2023-09-08 11:31:26 +03:00
parent cd84f8c60b
commit 471e985a70
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@ INSTALL_DIR=agent_gsm
GIT_SOURCE=https://git.sevana.biz/public/agent_gsm_redist GIT_SOURCE=https://git.sevana.biz/public/agent_gsm_redist
# Install prerequisites # Install prerequisites
sudo apt install --assume-yes git mc python3 sox vim libffi-dev sudo apt install --assume-yes git mc python3 sox vim libffi-dev screen
sudo pip3 install pyyaml sox pyrabbit soundfile dbus_python pexpect pydub requests sudo pip3 install pyyaml sox pyrabbit soundfile dbus_python pexpect pydub requests
sudo pip3 install rabbitpy pydub sudo pip3 install rabbitpy pydub
@ -32,6 +32,10 @@ read -p "Please specify expected task name (if this is answerer phone): " TASK_N
# Get a copy of config file from redist # Get a copy of config file from redist
cp config/agent.in.yaml config/agent.yaml cp config/agent.in.yaml config/agent.yaml
# Update mc settings to ease further work
mkdir -p ~/.config/mc
cp config/mc/ini ~/.config/mc
# Replace the values # Replace the values
if [[ $BACKEND_URL != "" ]]; then if [[ $BACKEND_URL != "" ]]; then
sed -i "s|BACKEND|$BACKEND|" config/agent.yaml sed -i "s|BACKEND|$BACKEND|" config/agent.yaml