From fb98a9fa123f57c3a50477ac6dc191bfb3149cb7 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Mon, 3 Feb 2020 09:15:22 +0200 Subject: [PATCH] Consolidate apt install commands --- deployment_scripts/deploy_linux.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deployment_scripts/deploy_linux.sh b/deployment_scripts/deploy_linux.sh index da14a7acc..a00793a2c 100755 --- a/deployment_scripts/deploy_linux.sh +++ b/deployment_scripts/deploy_linux.sh @@ -104,17 +104,11 @@ if [[ ${python_cmd} == "" ]]; then log_message "Python 3.7 command not found. Installing python 3.7." sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update - sudo apt install python3.7 + sudo apt install python3.7 python3.7-dev log_message "Python 3.7 is now available with command 'python3.7'." python_cmd="python3.7" fi -log_message "Updating package list" -sudo apt-get update - -log_message "Install python3.7-dev" -sudo apt-get install python3.7-dev - log_message "Installing island requirements_island" requirements_island="$ISLAND_PATH/requirements.txt" ${python_cmd} -m pip install -r "${requirements_island}" --user --upgrade || handle_error