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

Commit 584f010

Browse files
authored
Bug fix
1 parent ad4d678 commit 584f010

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script-library/azcli-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ install_using_apt() {
6363
get_common_setting MICROSOFT_GPG_KEYS_URI
6464
curl -sSL ${MICROSOFT_GPG_KEYS_URI} | gpg --dearmor > /usr/share/keyrings/microsoft-archive-keyring.gpg
6565
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
6767
-f /etc/apt/sources.list.d/azure-cli.list
6868
return 1
6969
fi

script-library/git-lfs-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ install_using_apt() {
138138
curl -sSL "${GIT_LFS_ARCHIVE_GPG_KEY_URI}" | gpg --dearmor > /usr/share/keyrings/gitlfs-archive-keyring.gpg
139139
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
140140

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
142142
rm -f /etc/apt/sources.list.d/git-lfs.list
143143
return 1
144144
fi

0 commit comments

Comments
 (0)