gpsd dep check for deb 10 / deb 11 differences

This commit is contained in:
tb14
2022-10-15 23:03:55 -05:00
parent fd6d20ef40
commit d8b82716b8
2 changed files with 10 additions and 3 deletions
+9 -3
View File
@@ -1468,8 +1468,14 @@ function ublox_gps_setup() {
#Deps from Debian 10
#sudo apt-get -y install gpsd gpsd-clients python-gps chrony ||
sudo apt install -y gpsd gpsd-clients gpsd-tools chrony ||
{ ERRCODE="Failed to install gpsd gpsd-clients python-gps chrony packages"; errors; return; }
if apt-cache show gpsd-tools; then
GPSDEP=gpsd-tools
else
GPSDEP=python-gps
fi
sudo apt install -y gpsd gpsd-clients $GPSDEP chrony ||
{ ERRCODE="Failed to install gpsd related packages"; errors; return; }
if [[ -f /etc/default/gpsd ]]; then
@@ -2101,7 +2107,7 @@ fi
sudo python3 -m pip install https://download.electrum.org/$NEWELECTRUM/\
Electrum-${NEWELECTRUM}.tar.gz ||
{ ERRCODE="Failed to install Electrum"; errors; return; }
{ ERRCODE="Failed to install Electrum. Likely due to running older OS without python3 support."; errors; return; }
else
echo noelectrum >> /tmp/cleanup
fi
+1
View File
@@ -6,6 +6,7 @@
- Fix Veracrypt links.
- fixed missing sudo for snap block
- Fixed electrum check for python3
- fixed gpsd deps check for Deb 10 / Deb 11 systems
# Version 0.7.0 - Working
- Working updates for current release 2022-09-22 Raspios Bullseye 32bit