move apps to new build dir

pull/329/head
KM4ACK 2021-10-29 15:23:05 -05:00
rodzic fe0da3d90b
commit b5edf8c496
1 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
BUILDDIR=$HOME/.bap-source-files
mkdir -p ${BUILDDIR}
##################################
# DIPOLE CALC
##################################
@ -185,7 +188,7 @@ by connecting to the internet or attaching a GPS" \
# PISTATS
##################################
PISTATS() {
cd ${HOME} || return
cd ${BUILDDIR} || return
CUR=$(curl http://www.w1hkj.com/PI/pistats.html | grep tgz | sed 's/^.*href="//;s/">.*//')
wget http://www.w1hkj.com/PI/${CUR}
tar -xzvf ${CUR}
@ -194,10 +197,11 @@ PISTATS() {
cd ${PISTATDIR} || return
sudo apt-get install -y libfltk1.3-dev
make
make clean
sudo mv pistats /usr/local/bin
sudo mv ${HOME}/${PISTATDIR}/data/pistats.desktop /usr/share/applications/
sudo mv ${BUILDDIR}/${PISTATDIR}/data/pistats.desktop /usr/share/applications/
cd ${HOME} || return
rm -rf "${PISTATDIR}"
}
##################################