aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2017-02-01 16:08:51 -0800
committerEd Warnicke <eaw@cisco.com>2017-02-01 16:08:51 -0800
commiteb82e7f27c6f8fe84838e6e2914579825c455632 (patch)
tree92f4a46068132299c027ef5a1861bb46f430de5e
parentc5fccc0c65a441700dc92add4880127331a37f33 (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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a01846b6dd..b50d203914e 100644
--- a/Makefile
+++ b/Makefile
@@ -162,8 +162,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 -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)