#!/usr/bin/env bash

export DEBIAN_FRONTEND=noninteractive
export UCF_FORCE_CONFFNEW=1
export APT="DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confnew"

sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list

sudo $APT update
sudo $APT upgrade
sudo $APT dist-upgrade

exit 0
