mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
gpsd dep check for deb 10 / deb 11 differences
This commit is contained in:
@@ -1468,8 +1468,14 @@ function ublox_gps_setup() {
|
|||||||
#Deps from Debian 10
|
#Deps from Debian 10
|
||||||
#sudo apt-get -y install gpsd gpsd-clients python-gps chrony ||
|
#sudo apt-get -y install gpsd gpsd-clients python-gps chrony ||
|
||||||
|
|
||||||
sudo apt install -y gpsd gpsd-clients gpsd-tools chrony ||
|
if apt-cache show gpsd-tools; then
|
||||||
{ ERRCODE="Failed to install gpsd gpsd-clients python-gps chrony packages"; errors; return; }
|
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
|
if [[ -f /etc/default/gpsd ]]; then
|
||||||
|
|
||||||
@@ -2101,7 +2107,7 @@ fi
|
|||||||
|
|
||||||
sudo python3 -m pip install https://download.electrum.org/$NEWELECTRUM/\
|
sudo python3 -m pip install https://download.electrum.org/$NEWELECTRUM/\
|
||||||
Electrum-${NEWELECTRUM}.tar.gz ||
|
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
|
else
|
||||||
echo noelectrum >> /tmp/cleanup
|
echo noelectrum >> /tmp/cleanup
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
- Fix Veracrypt links.
|
- Fix Veracrypt links.
|
||||||
- fixed missing sudo for snap block
|
- fixed missing sudo for snap block
|
||||||
- Fixed electrum check for python3
|
- Fixed electrum check for python3
|
||||||
|
- fixed gpsd deps check for Deb 10 / Deb 11 systems
|
||||||
|
|
||||||
# Version 0.7.0 - Working
|
# Version 0.7.0 - Working
|
||||||
- Working updates for current release 2022-09-22 Raspios Bullseye 32bit
|
- Working updates for current release 2022-09-22 Raspios Bullseye 32bit
|
||||||
|
|||||||
Reference in New Issue
Block a user