update prior to add repo 47/1947/1
authorMike Marchetti <mmarchetti@sandvine.com>
Mon, 19 Jun 2017 21:11:09 +0000 (17:11 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Mon, 19 Jun 2017 21:11:09 +0000 (17:11 -0400)
- update is required prior to adding to repo
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I1686942085016157755dae4e57b6e04efe769f7c

jenkins/common/install_common

index 3304bae..d844bdd 100755 (executable)
@@ -45,4 +45,4 @@ key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
 
 curl $key_location | apt-key add -
 
-add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"
+apt update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"