We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe518a commit 2cdb3ceCopy full SHA for 2cdb3ce
scripts/ubuntu-install-swift.sh
@@ -52,9 +52,11 @@ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyring
52
sudo chmod a+r /etc/apt/keyrings/docker.asc
53
54
# Add the repository to Apt sources:
55
+# shellcheck source=/etc/os-release
56
+. /etc/os-release
57
echo \
58
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
- $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
59
+ "$VERSION_CODENAME" stable" | \
60
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
61
sudo apt-get update
62
0 commit comments