summaryrefslogtreecommitdiffstats
path: root/tasks/update.task.sh
blob: f6ec089dc1e9bae487ed4171f1eede02e072696b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
update_package_dependencies="bootstrap"

update() {
  ME=update
  echo "  Refresh apt sources"
  chroot-exec aptitude update > $DEBUG.$ME 2>&1
  echo -n "  Running system update "
  chroot-exec aptitude -y safe-upgrade | tee -a - $DEBUG.$ME | awk '{printf "."}' 2>&1
  echo "done"
}