update packages list before getting jre 7

This commit is contained in:
Abhinandan Prateek 2014-01-17 21:15:51 +05:30
parent eb6bed8037
commit 5121f8cd4e
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ install_packages() {
apt-get --no-install-recommends -q -y --force-yes install keepalived conntrackd ipvsadm libnetfilter-conntrack3 libnl1
# ipcalc
apt-get --no-install-recommends -q -y --force-yes install ipcalc
apt-get update
# java
apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless

View File

@ -65,6 +65,7 @@ install_packages() {
apt-get --no-install-recommends -q -y --force-yes install keepalived conntrackd ipvsadm libnetfilter-conntrack3 libnl1
# ipcalc
apt-get --no-install-recommends -q -y --force-yes install ipcalc
apt-get update
# java
apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless