Skip to content

Commit

Permalink
Fix Anki missing lsb-release
Browse files Browse the repository at this point in the history
  • Loading branch information
iainelder committed Dec 8, 2024
1 parent dfe1e9f commit 4859707
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions programs/anki/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ sudo apt-get update
sudo apt-get --assume-yes install \
curl \
jq \
zstd
zstd \
lsb-release

browser_download_url=$(
curl -Ss 'https://api.github.com/repos/ankitects/anki/releases/latest' |
Expand Down Expand Up @@ -45,7 +46,7 @@ export DEBIAN_FRONTEND=noninteractive
dist="$(lsb_release --release --short)"
if [[ $dist = "24.04" ]]; then
libasound="libasound2t64"
elif [[ $dist = "20.04" || $dist = "$22.04" ]]; then
else
libasound="libasound2"
fi

Expand Down

0 comments on commit 4859707

Please sign in to comment.