Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit abef8d5

Browse files
author
CI
committed
Automated update for script library changes
1 parent 545b8ed commit abef8d5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

containers/codespaces-linux/.devcontainer/library-scripts/go-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ UPDATE_RC=${5:-"true"}
1717
INSTALL_GO_TOOLS=${6:-"true"}
1818

1919
# https://www.google.com/linuxrepositories/
20-
GO_GPG_KEY_URL="https://dl.google.com/linux/linux_signing_key.pub"
20+
GO_GPG_KEY_URI="https://dl.google.com/linux/linux_signing_key.pub"
2121

2222
set -e
2323

@@ -160,8 +160,8 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
160160
export GNUPGHOME="/tmp/tmp-gnupg"
161161
mkdir -p ${GNUPGHOME}
162162
chmod 700 ${GNUPGHOME}
163-
get_common_setting GO_GPG_KEY_URL
164-
curl -sSL -o /tmp/tmp-gnupg/golang_key "${GO_GPG_KEY_URL}"
163+
get_common_setting GO_GPG_KEY_URI
164+
curl -sSL -o /tmp/tmp-gnupg/golang_key "${GO_GPG_KEY_URI}"
165165
gpg -q --import /tmp/tmp-gnupg/golang_key
166166
echo "Downloading Go ${TARGET_GO_VERSION}..."
167167
curl -sSL -o /tmp/go.tar.gz "https://golang.org/dl/go${TARGET_GO_VERSION}.linux-${architecture}.tar.gz"

containers/go/.devcontainer/library-scripts/go-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ UPDATE_RC=${5:-"true"}
1717
INSTALL_GO_TOOLS=${6:-"true"}
1818

1919
# https://www.google.com/linuxrepositories/
20-
GO_GPG_KEY_URL="https://dl.google.com/linux/linux_signing_key.pub"
20+
GO_GPG_KEY_URI="https://dl.google.com/linux/linux_signing_key.pub"
2121

2222
set -e
2323

@@ -160,8 +160,8 @@ if [ "${TARGET_GO_VERSION}" != "none" ] && ! type go > /dev/null 2>&1; then
160160
export GNUPGHOME="/tmp/tmp-gnupg"
161161
mkdir -p ${GNUPGHOME}
162162
chmod 700 ${GNUPGHOME}
163-
get_common_setting GO_GPG_KEY_URL
164-
curl -sSL -o /tmp/tmp-gnupg/golang_key "${GO_GPG_KEY_URL}"
163+
get_common_setting GO_GPG_KEY_URI
164+
curl -sSL -o /tmp/tmp-gnupg/golang_key "${GO_GPG_KEY_URI}"
165165
gpg -q --import /tmp/tmp-gnupg/golang_key
166166
echo "Downloading Go ${TARGET_GO_VERSION}..."
167167
curl -sSL -o /tmp/go.tar.gz "https://golang.org/dl/go${TARGET_GO_VERSION}.linux-${architecture}.tar.gz"

0 commit comments

Comments
 (0)