minor fixes

This commit is contained in:
Fabio Sinibaldi 2025-02-25 15:59:57 +01:00
parent 69642493ce
commit ce9582f7ca
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ echo "Refreshing packages.."
sudo apt update
echo "NB Check if installing from Docker repo instead of Ubuntu repo"
apt-cache policy -y docker-ce
apt-cache policy docker-ce
# Check repo
read -p "Are we installing from Docker repo? (Y/N): " repo_ok
@ -29,8 +29,8 @@ sudo apt install -y docker-ce
#Add user to docker group
read -p "Do you want to add the current user to docker group? (Y/N): " add_user
if [[ $add_user == [yY] || $add_user == [yY][eE][sS] ]]; then
sudo newgrp docker
sudo usermod -aG docker ${USER}
newgrp docker
echo "User added to docker group"
fi