Don't install extra packages (openresolv was installed over resolvconf). No longer need --fix-missing.

Signed-off-by: Dan Schaper <dschaper@ganymeade.com>
This commit is contained in:
Dan Schaper 2016-12-20 17:02:51 -08:00
parent 7f3b0030ea
commit c72ffae4a2
No known key found for this signature in database
GPG key ID: 572E999E385B7BFC

View file

@ -81,7 +81,7 @@ if [[ $(command -v apt-get) ]]; then
PKG_CACHE="/var/lib/apt/lists/"
UPDATE_PKG_CACHE="${PKG_MANAGER} update"
PKG_UPDATE="${PKG_MANAGER} upgrade"
PKG_INSTALL="${PKG_MANAGER} --yes --fix-missing install"
PKG_INSTALL="${PKG_MANAGER} --yes --no-install-recommends install"
# grep -c will return 1 retVal on 0 matches, block this throwing the set -e with an OR TRUE
PKG_COUNT="${PKG_MANAGER} -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true"
# #########################################