This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ install_using_apt() {
63
63
get_common_setting MICROSOFT_GPG_KEYS_URI
64
64
curl -sSL ${MICROSOFT_GPG_KEYS_URI} | gpg --dearmor > /usr/share/keyrings/microsoft-archive-keyring.gpg
65
65
echo " deb [arch=${architecture} signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/azure-cli/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/azure-cli.list
66
- if ! apt-get update && apt-get install -yq azure-cli; then
66
+ if ! ( apt-get update && apt-get install -yq azure-cli) ; then
67
67
-f /etc/apt/sources.list.d/azure-cli.list
68
68
return 1
69
69
fi
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ install_using_apt() {
138
138
curl -sSL " ${GIT_LFS_ARCHIVE_GPG_KEY_URI} " | gpg --dearmor > /usr/share/keyrings/gitlfs-archive-keyring.gpg
139
139
echo -e " deb [arch=${architecture} signed-by=/usr/share/keyrings/gitlfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/${ID} ${VERSION_CODENAME} main\ndeb-src [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/gitlfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/${ID} ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/git-lfs.list
140
140
141
- if ! apt-get update && apt-get install -yq git-lfs${version_suffix} ; then
141
+ if ! ( apt-get update && apt-get install -yq git-lfs${version_suffix} ) ; then
142
142
rm -f /etc/apt/sources.list.d/git-lfs.list
143
143
return 1
144
144
fi
You can’t perform that action at this time.
0 commit comments