setup.sh: remove stale Docker Inc repo before apt-get update to fix failure on Debian
This commit is contained in:
@@ -100,7 +100,8 @@ echo ""
|
|||||||
|
|
||||||
# Update system
|
# Update system
|
||||||
echo "[1/4] Updating system packages..."
|
echo "[1/4] Updating system packages..."
|
||||||
apt-get update -qq
|
rm -f /etc/apt/sources.list.d/docker.list 2>/dev/null || true
|
||||||
|
apt-get update -qq 2>/dev/null || apt-get update
|
||||||
apt-get install -y -qq curl git ca-certificates gnupg > /dev/null 2>&1
|
apt-get install -y -qq curl git ca-certificates gnupg > /dev/null 2>&1
|
||||||
|
|
||||||
# Install Docker
|
# Install Docker
|
||||||
|
|||||||
Reference in New Issue
Block a user