Skip to content

A bash script that helps update to the latest SDRTrunk while maintaining configs.

Notifications You must be signed in to change notification settings

chudgoo/Mac-SDRTrunk-Build-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#!/bin/bash
#Back up old install (excluding recordings)
#zip -r sdrtrunk-lastversion-backup.zip ~/sdrtrunk -x recordings
zip -r sdrtrunk-lastversion-backup.zip ~/sdrtrunk
#Unshit the bed if last run screwed up and left things in a weird state...
rm -rf ~/sdrtrunk
rm -rf ~/tempsdrtrunk
rm -rf ~/JMBE
#Get latest version of SDRTrunk and build/install.
mkdir ~/tempsdrtrunk
cd ~/tempsdrtrunk
git clone https://github.com/DSheirer/sdrtrunk
cd ./sdrtrunk/build/
ant
unzip -o ../product/sdrtrunk*.zip -d ~/
cd ~
rm -rf ~/tempsdrtrunk/
#Copy config files from local backup into new install dir.
yes | cp -rv ~/SDRTRUNK-CONFIG-FILES/* ~/sdrtrunk
#Get latest version of JMBE and copy to sdtrunk dir
git clone https://github.com/DSheirer/JMBE
cd ~/JMBE/jmbe/build/
ant
yes | cp ../library/jmbe-0*.jar ~/sdrtrunk
cd ~
rm -rf ~/JMBE/
#Make it so.
cd ~/sdrtrunk
bash ./run_sdrtrunk_linux.sh

About

A bash script that helps update to the latest SDRTrunk while maintaining configs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages