#!/bin/bash
export DEBIAN_FRONTEND=noninteractive

#for packages that exec setup scripts out of tmp
# /tmp noexec should be restored at next filesystem reset
#mount -o remount,exec /tmp

#update packages if we haven't in the past 60 minutes
groovix-apt-get-update-if-old

#apt-get with to questions asked
#exec  apt-get --option 'DPkg::Options::=--force-confold' --no-install-recommends --quiet --assume-yes --force-yes "$@"
#exec  apt-get --option 'DPkg::Options::=--force-confold'                          --quiet --assume-yes --force-yes "$@"
#don't need force-yes anymore
exec  apt-get --option 'DPkg::Options::=--force-confold'   --quiet --allow-unauthenticated --assume-yes --allow-downgrades --allow-change-held-packages  --allow-remove-essential "$@"
