pull/267/head
KM4ACK 2021-04-04 16:05:46 -05:00
rodzic a093b39ce7
commit 21856de0af
1 zmienionych plików z 27 dodań i 0 usunięć

Wyświetl plik

@ -166,3 +166,30 @@ AX25() {
PULSE() {
sudo apt-get install -y pavucontrol
}
##################################
# GPS update tool
##################################
GPSUPDATE() {
#remove existing file if needed before installing
if [ -f ${HOME}/bin/gpsupdate ]; then
rm ${HOME}/bin/gpsupdate
fi
cd ${HOME}/bin || return
wget https://raw.githubusercontent.com/km4ack/pi-scripts/master/gpsupdate
chmod +x gpsupdate
cat >gpsupdate.desktop <<EOF
[Desktop Entry]
Name=GPS Update Tool
GenericName=Used to change between GPS units
Comment=Used to change between GPS units
Exec=${HOME}/bin/gpsupdate
Terminal=false
Type=Application
Categories=Utility
EOF
sudo mv gpsupdate.desktop /usr/share/applications/
}