full_install_osm.sh: install python3-osmclient and IM dependencies 45/8245/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 27 Nov 2019 14:06:06 +0000 (15:06 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 27 Nov 2019 16:53:10 +0000 (17:53 +0100)
Change-Id: I7e9d52cdb0ae350d229283f9910b194202a4ca2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index 8384224..819161a 100755 (executable)
@@ -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