install.sh aktualisiert

This commit is contained in:
olli 2023-08-21 14:47:19 +02:00
parent 463dc937ed
commit 5db3e2e141

View File

@ -4,7 +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}"
id | grep -q '(sudo)' || su -c "/usr/sbin/usermod -a sudo ${USER}"
sudo apt-get -y install python3-pip git
sudo pip install ansible