From 078f5985d9263bff393c73ee3ffdc29c14084511 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 27 Nov 2019 15:06:06 +0100 Subject: [PATCH] full_install_osm.sh: install python3-osmclient and IM dependencies Change-Id: I7e9d52cdb0ae350d229283f9910b194202a4ca2e Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 8384224e..819161a0 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -564,12 +564,12 @@ function install_osmclient(){ CLIENT_REPOSITORY_BASE=${REPOSITORY_BASE#"-u "} key_location=$CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE/$CLIENT_REPOSITORY_KEY curl $key_location | sudo apt-key add - - sudo add-apt-repository -y "deb [arch=amd64] $CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE $CLIENT_REPOSITORY osmclient" + sudo add-apt-repository -y "deb [arch=amd64] $CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE $CLIENT_REPOSITORY osmclient IM" sudo apt-get update - sudo apt-get install -y python-pip - sudo -H LC_ALL=C pip install -U pip - sudo -H LC_ALL=C python -m pip install python-magic - sudo apt-get install -y python-osmclient + sudo apt-get install -y python3-pip + sudo -H LC_ALL=C python3 -m pip install -U pip + sudo -H LC_ALL=C python3 -m pip install -U python-magic + sudo apt-get install -y python3-osmclient #sed 's,OSM_SOL005=[^$]*,OSM_SOL005=True,' -i ${HOME}/.bashrc #echo 'export OSM_HOSTNAME=localhost' >> ${HOME}/.bashrc #echo 'export OSM_SOL005=True' >> ${HOME}/.bashrc -- 2.17.1