Skip to content

Commit

Permalink
readsb install script compat
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Aug 21, 2024
1 parent 291c69f commit de173a2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions readsb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,11 @@ if command -v apt &>/dev/null; then
if ! command -v nginx &>/dev/null && [[ -z "$NO_TAR1090" ]] ; then
packages+=(lighttpd)
fi
# librtlsdr0 is pulled in by librtlsdr-dev anyhow, thus omit it.
# this is to get compatibility with ubuntu24 which didn't manage to revert the needless library version change that was reverted upstream
packages=(librtlsdr-dev)
aptInstall "${packages[@]}"
fi
if command -v apt &>/dev/null; then
packages=(librtlsdr-dev librtlsdr0)
aptInstall "${packages[@]}" || true # hope for the best
fi

udevadm control --reload-rules || true

Expand Down

0 comments on commit de173a2

Please sign in to comment.