From 4138a75d06ddc7a7d7b43c611ebf2644219199e3 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 21 Oct 2022 14:04:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eraspi.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raspi.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/raspi.sh b/raspi.sh index 64a6ffc..89bc16b 100644 --- a/raspi.sh +++ b/raspi.sh @@ -3,17 +3,10 @@ set -e set -x -# systemupdate -sudo apt-get update -sudo apt-get -y dist-upgrade - # install ansible -sudo apt-get -y install python3-pip git -sudo pip install ansible - -# install mscore fonts -echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections -sudo apt-get -y install ttf-mscorefonts-installer +which pip || ( sudo apt-get update ; sudo apt-get -y dist-upgrade ; sudo apt-get -y install python3-pip ) +which git || ( sudo apt-get update ; sudo apt-get -y dist-upgrade ; sudo apt-get -y install git ) +which ansible || sudo pip install ansible # run ansible playbooks for playbook in debian.ansible.basics \