install_osm: apt-get update before installing devops 05/6205/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 23 May 2018 10:33:36 +0000 (12:33 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 23 May 2018 10:33:36 +0000 (12:33 +0200)
Change-Id: I786bb2b67a049fd93916e7fd449940d9ac071ac5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_osm.sh

index 731cfbd..290b519 100755 (executable)
@@ -17,5 +17,6 @@ add_repo() {
 }
 
 add_repo "deb [arch=amd64] $REPOSITORY_BASE/$RELEASE $REPOSITORY devops"
-sudo DEBIAN_FRONTEND=noninteractive  apt-get install osm-devops
+sudo DEBIAN_FRONTEND=noninteractive apt-get -q update
+sudo DEBIAN_FRONTEND=noninteractive apt-get install osm-devops
 /usr/share/osm-devops/installers/full_install_osm.sh -R $RELEASE -r $REPOSITORY -D /usr/share/osm-devops "$@"