From 463dc937eda2c31b98db7fb6f51377b776307440 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 21 Aug 2023 14:45:48 +0200 Subject: [PATCH] install.sh aktualisiert --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index add045d..2df63f4 100644 --- a/install.sh +++ b/install.sh @@ -4,6 +4,7 @@ set -e # on fresh install remove cdrom-repo and install sudo if not available which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; apt update ; apt -y install sudo" +id | grep -q '(sudo)' || su -c "usermod -a sudo ${USER}" sudo apt-get -y install python3-pip git sudo pip install ansible