aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2017-02-01 16:08:51 -0800
committerDave Wallace <dwallacelf@gmail.com>2017-02-02 02:22:41 +0000
commit88d9b3be0e58719c7ccda095e9627befc79039f9 (patch)
tree939372929d44579a37fb631c1201ffd35f8a5acb /Makefile
parente5bf04dc3c0ee5944a81180fb6418c2d3c7c8743 (diff)
Fix issue with apt-get update not being run on Ubuntu 16.04
Change-Id: Ic05b86c4ea9b62afbf03a2a36c4a2ef45f5c140b Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit eb82e7f27c6f8fe84838e6e2914579825c455632)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 292b0d286c0..31b001962db 100644
--- a/Makefile
+++ b/Makefile
@@ -157,8 +157,8 @@ ifeq ($(OS_ID),ubuntu)
ifeq ($(OS_VERSION_ID),14.04)
@sudo -E apt-get $(CONFIRM) $(FORCE) install software-properties-common
@sudo -E add-apt-repository ppa:openjdk-r/ppa $(CONFIRM)
- @sudo -E apt-get update
endif
+ @sudo -E apt-get update
@sudo -E apt-get $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
else ifneq ("$(wildcard /etc/redhat-release)","")
@sudo yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)