# ---------------------------------------------------------------------------- #
## \file install-00-pkg.sh
## \author Sebastien Beaugrand
## \sa http://beaugrand.chez.com/
## \copyright CeCILL 2.1 Free Software license
# ---------------------------------------------------------------------------- #
if ((`cat /proc/net/arp | wc -l` > 1)); then
export DEBIAN_FRONTEND=noninteractive
logInfo "apt-get update ..."
apt-get -q -y update >>$log 2>&1
logTodo "sudo apt dist-upgrade"
list=`cat install-00-pkg.txt | sed 's/ *#.*//' | tr '\n' ' '`
logInfo "apt-get install $list"
apt-get -q -y install --no-install-recommends $list >>$log 2>&1
fi