5
if ! dpkg -s amulet &> /dev/null; then
6
sudo add-apt-repository -y ppa:juju/stable
8
to_install="$to_install amulet"
11
if ! dpkg -s python3-yaml &> /dev/null; then
12
to_install="$to_install python3-yaml"
15
if [[ -n "$to_install" ]]; then
16
echo Installing $to_install...
17
sudo apt-get install -y $to_install