Fix script hanging if incompatible package is found

This commit is contained in:
Nicola
2023-07-19 19:31:20 +02:00
committed by GitHub
parent 2a0c42f481
commit 5a7847bec3
+1 -1
View File
@@ -32,7 +32,7 @@ fi
# Remove old and incompatible packages # Remove old and incompatible packages
echo -e "${info} Removing old and incompatible packages..." echo -e "${info} Removing old and incompatible packages..."
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do apt-get remove $pkg >/dev/null; done for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do apt-get remove -y $pkg >/dev/null; done
# Install dependencies # Install dependencies
echo -e "${info} Updating repositories..." echo -e "${info} Updating repositories..."