Skip to content

Commit 58b8fe0

Browse files
Fix typos in comments / *.md (devcontainers#396)
1 parent 79588ef commit 58b8fe0

16 files changed

Lines changed: 21 additions & 21 deletions

File tree

src/common-utils/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ chmod +x /etc/profile.d/00-restore-env.sh
292292

293293
# Bring in ID, ID_LIKE, VERSION_ID, VERSION_CODENAME
294294
. /etc/os-release
295-
# Get an adjusted ID independant of distro variants
295+
# Get an adjusted ID independent of distro variants
296296
if [ "${ID}" = "debian" ] || [ "${ID_LIKE}" = "debian" ]; then
297297
ADJUSTED_ID="debian"
298298
elif [[ "${ID}" = "rhel" || "${ID}" = "fedora" || "${ID}" = "mariner" || "${ID_LIKE}" = *"rhel"* || "${ID_LIKE}" = *"fedora"* || "${ID_LIKE}" = *"mariner"* ]]; then

src/desktop-lite/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export DEBIAN_FRONTEND=noninteractive
176176

177177
apt_get_update
178178

179-
# On older Ubuntu, Tilix is in a PPA. on Debian strech its in backports.
179+
# On older Ubuntu, Tilix is in a PPA. on Debian stretch its in backports.
180180
if [[ -z $(apt-cache --names-only search ^tilix$) ]]; then
181181
. /etc/os-release
182182
if [ "${ID}" = "ubuntu" ]; then
@@ -365,7 +365,7 @@ screen_geometry="\${VNC_RESOLUTION%*x*}"
365365
screen_depth="\${VNC_RESOLUTION##*x}"
366366
startInBackgroundIfNotRunning "Xtigervnc" sudoUserIf "tigervncserver \${DISPLAY} -geometry \${screen_geometry} -depth \${screen_depth} -rfbport ${VNC_PORT} -dpi \${VNC_DPI:-96} -localhost -desktop fluxbox -fg -passwd /usr/local/etc/vscode-dev-containers/vnc-passwd"
367367
368-
# Spin up noVNC if installed and not runnning.
368+
# Spin up noVNC if installed and not running.
369369
if [ -d "/usr/local/novnc" ] && [ "\$(ps -ef | grep /usr/local/novnc/noVNC*/utils/launch.sh | grep -v grep)" = "" ]; then
370370
keepRunningInBackground "noVNC" sudoIf "/usr/local/novnc/noVNC*/utils/launch.sh --listen ${NOVNC_PORT} --vnc localhost:${VNC_PORT}"
371371
log "noVNC started."

src/docker-in-docker/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export DEBIAN_FRONTEND=noninteractive
137137
# Fetch host/container arch.
138138
architecture="$(dpkg --print-architecture)"
139139

140-
# Check if distro is suppported
140+
# Check if distro is supported
141141
if [ "${USE_MOBY}" = "true" ]; then
142142
# 'get_common_setting' allows attribute to be updated remotely
143143
get_common_setting DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES
@@ -305,7 +305,7 @@ if [ -f "/usr/local/share/docker-init.sh" ]; then
305305
rm -rf /var/lib/apt/lists/*
306306
exit 0
307307
fi
308-
echo "docker-init doesnt exist, adding..."
308+
echo "docker-init doesn't exist, adding..."
309309

310310
# Add user to the docker group
311311
if [ "${ENABLE_NONROOT_DOCKER}" = "true" ]; then

src/docker-outside-of-docker/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fi
126126
# Fetch host/container arch.
127127
architecture="$(dpkg --print-architecture)"
128128

129-
# Check if distro is suppported
129+
# Check if distro is supported
130130
if [ "${USE_MOBY}" = "true" ]; then
131131
# 'get_common_setting' allows attribute to be updated remotely
132132
get_common_setting DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES
@@ -209,7 +209,7 @@ else
209209
TARGET_COMPOSE_ARCH="x86_64"
210210
fi
211211
if [ "${TARGET_COMPOSE_ARCH}" != "x86_64" ]; then
212-
# Use pip to get a version that runns on this architecture
212+
# Use pip to get a version that runs on this architecture
213213
check_packages python3-minimal python3-pip libffi-dev python3-venv
214214
export PIPX_HOME=/usr/local/pipx
215215
mkdir -p ${PIPX_HOME}
@@ -260,7 +260,7 @@ if [ -f "/usr/local/share/docker-init.sh" ]; then
260260
rm -rf /var/lib/apt/lists/*
261261
exit 0
262262
fi
263-
echo "docker-init doesnt exist, adding..."
263+
echo "docker-init doesn't exist, adding..."
264264

265265
# By default, make the source and target sockets the same
266266
if [ "${SOURCE_SOCKET}" != "${TARGET_SOCKET}" ]; then

src/dotnet/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ install_using_dotnet_releases_url() {
316316
local sdk_or_runtime="$1"
317317
local version="$2"
318318

319-
# Check listed package dependecies and install them if they are not already installed.
320-
# NOTE: icu-devtools is a small package with similar dependecies to .NET.
319+
# Check listed package dependencies and install them if they are not already installed.
320+
# NOTE: icu-devtools is a small package with similar dependencies to .NET.
321321
# It will install the appropriate dependencies based on the OS:
322322
# - libgcc-s1 OR libgcc1 depending on OS
323323
# - the latest libicuXX depending on OS (eg libicu57 for stretch)

src/git-lfs/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ find_version_from_git_tags() {
6565
receive_gpg_keys() {
6666
local keys=${!1}
6767

68-
# Use a temporary locaiton for gpg keys to avoid polluting image
68+
# Use a temporary location for gpg keys to avoid polluting image
6969
export GNUPGHOME="/tmp/tmp-gnupg"
7070
mkdir -p ${GNUPGHOME}
7171
chmod 700 ${GNUPGHOME}

src/git/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ receive_gpg_keys() {
3434
keyring_args="--no-default-keyring --keyring $2"
3535
fi
3636

37-
# Use a temporary locaiton for gpg keys to avoid polluting image
37+
# Use a temporary location for gpg keys to avoid polluting image
3838
export GNUPGHOME="/tmp/tmp-gnupg"
3939
mkdir -p ${GNUPGHOME}
4040
chmod 700 ${GNUPGHOME}

src/github-cli/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ receive_gpg_keys() {
3434
keyring_args="--no-default-keyring --keyring $2"
3535
fi
3636

37-
# Use a temporary locaiton for gpg keys to avoid polluting image
37+
# Use a temporary location for gpg keys to avoid polluting image
3838
export GNUPGHOME="/tmp/tmp-gnupg"
3939
mkdir -p ${GNUPGHOME}
4040
chmod 700 ${GNUPGHOME}

src/go/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ usermod -a -G golang "${USERNAME}"
144144
mkdir -p "${TARGET_GOROOT}" "${TARGET_GOPATH}"
145145

146146
if [[ "${TARGET_GO_VERSION}" != "none" ]] && [[ "$(go version)" != *"${TARGET_GO_VERSION}"* ]]; then
147-
# Use a temporary locaiton for gpg keys to avoid polluting image
147+
# Use a temporary location for gpg keys to avoid polluting image
148148
export GNUPGHOME="/tmp/tmp-gnupg"
149149
mkdir -p ${GNUPGHOME}
150150
chmod 700 ${GNUPGHOME}

src/nix/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ FLAKEURI="${FLAKEURI:-""}"
1212
EXTRANIXCONFIG="${EXTRANIXCONFIG:-""}"
1313
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
1414

15-
# Nix keys for securly verifying installer download signature per https://nixos.org/download.html#nix-verify-installation
15+
# Nix keys for securely verifying installer download signature per https://nixos.org/download.html#nix-verify-installation
1616
NIX_GPG_KEYS="B541D55301270E0BCF15CA5D8170B4726D7198DE"
1717
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com
1818
keyserver hkps://keys.openpgp.org

0 commit comments

Comments
 (0)