From 2008ed479051c3cf79b0ceea0c3ff74e20798d16 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 17 Nov 2022 13:42:01 +0100 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/raspi.sh b/raspi.sh index b1cf921..df0d230 100644 --- a/raspi.sh +++ b/raspi.sh @@ -1,8 +1,11 @@ #!/bin/bash +sudo apt-get update +sudo apt-get -yy dist-upgrade + # install ansible -which pip >/dev/null 2>&1 || ( sudo apt-get update ; sudo apt-get -y install python3-pip ) -which git >/dev/null 2>&1 || ( sudo apt-get update ; sudo apt-get -y install git ) +which pip >/dev/null 2>&1 || ( sudo apt-get -yy install python3-pip ) +which git >/dev/null 2>&1 || ( sudo apt-get -yy install git ) which ansible >/dev/null 2>&1 || sudo pip install ansible # run ansible playbooks