kopia lustrzana https://github.com/km4ack/pi-build
add hamlib check to xlog install
rodzic
1b92084bda
commit
44dfdea03a
|
@ -512,6 +512,16 @@ rm -rf $HOME/tqsl-$CUR
|
||||||
##################################
|
##################################
|
||||||
|
|
||||||
XLOG(){
|
XLOG(){
|
||||||
|
#verify hamlib installed
|
||||||
|
if ! hash rigctld 2>/dev/null; then
|
||||||
|
cat <<EOF > $HOME/Desktop/XLOG.txt
|
||||||
|
Xlog could not be installed because hamlib
|
||||||
|
wasn't found on the system. Use the build
|
||||||
|
a pi script to install hamlib and then try
|
||||||
|
installing xlog again.
|
||||||
|
EOF
|
||||||
|
else
|
||||||
|
|
||||||
TARXLOG=$(curl -s https://download.savannah.nongnu.org/releases/xlog/ | \
|
TARXLOG=$(curl -s https://download.savannah.nongnu.org/releases/xlog/ | \
|
||||||
grep 2.[0-9].[0-9][0-9].tar | sort | tail -1 | sed 's/.*xlog/xlog/' | sed 's/.sig.*$//')
|
grep 2.[0-9].[0-9][0-9].tar | sort | tail -1 | sed 's/.*xlog/xlog/' | sed 's/.sig.*$//')
|
||||||
|
|
||||||
|
@ -529,6 +539,7 @@ make
|
||||||
sudo make install
|
sudo make install
|
||||||
cd $HOME
|
cd $HOME
|
||||||
rm -rf $DIRXLOG
|
rm -rf $DIRXLOG
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
|
Ładowanie…
Reference in New Issue