Skip to content

Commit

Permalink
Update key location for Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
marianan committed Feb 9, 2022
1 parent b241008 commit 93a110f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function prepare_apt() {
log_error "Unsupported platform."
exit ${EXIT_CODES[3]}
else
sources="https://packages.microsoft.com/config/"$platform"/multiarch/prod.list"
sources="https://packages.microsoft.com/config/"$platform"/prod.list"
# sources list
log_info "Adding '%s' to package sources lists." $sources
Expand Down
9 changes: 7 additions & 2 deletions src/validate-tier1-os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,16 @@ function get_platform() {

case $ID in
ubuntu)
os_platform="$ID/$VERSION_ID"
if [[ $VERSION_ID == "18.04" ]];
then
os_platform="$ID/$VERSION_ID/multiarch"
else
os_platform="$ID/$VERSION_ID"
fi
;;

raspbian)
os_platform="$ID_LIKE/stretch"
os_platform="$ID_LIKE/stretch/multiarch"
;;
esac

Expand Down

0 comments on commit 93a110f

Please sign in to comment.