From 485970737895d92ef8cdfd8bd6ed637febf9faa9 Mon Sep 17 00:00:00 2001 From: Iain Samuel McLean Elder Date: Sun, 8 Dec 2024 16:12:54 +0100 Subject: [PATCH] Fix Anki missing lsb-release --- programs/anki/install.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/anki/install.bash b/programs/anki/install.bash index 755a9bd..106a73e 100755 --- a/programs/anki/install.bash +++ b/programs/anki/install.bash @@ -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' | @@ -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