mirror of
https://github.com/smittix/intercept.git
synced 2026-07-08 09:38:12 -07:00
In Ubuntu Desktop 25.10, dump1090 is dump1090-mutability. Because of this, cmd_exists dump1090 fails even after successful apt install. Added code to create a symbolic link from /usr/local/sbin/dump1090 to the dump1090-mutability if it exists
This commit is contained in:
@@ -439,9 +439,15 @@ install_debian_packages() {
|
|||||||
$SUDO apt-get install -y python3-skyfield >/dev/null 2>&1 || true
|
$SUDO apt-get install -y python3-skyfield >/dev/null 2>&1 || true
|
||||||
|
|
||||||
progress "Installing dump1090"
|
progress "Installing dump1090"
|
||||||
if ! cmd_exists dump1090; then
|
if ! cmd_exists dump1090 && ! cmd_exists dump1090-mutability; then
|
||||||
|
#export DEBIAN_FRONTEND=noninteractive
|
||||||
apt_try_install_any dump1090-fa dump1090-mutability dump1090 || true
|
apt_try_install_any dump1090-fa dump1090-mutability dump1090 || true
|
||||||
fi
|
fi
|
||||||
|
if ! cmd_exists dump1090; then
|
||||||
|
if cmd_exists dump1090-mutability; then
|
||||||
|
$SUDO ln -s $(which dump1090-mutability) /usr/local/sbin/dump1090
|
||||||
|
fi
|
||||||
|
fi
|
||||||
cmd_exists dump1090 || install_dump1090_from_source_debian
|
cmd_exists dump1090 || install_dump1090_from_source_debian
|
||||||
|
|
||||||
progress "Configuring udev rules"
|
progress "Configuring udev rules"
|
||||||
|
|||||||
Reference in New Issue
Block a user