| |
PE1RRR > BPQ 15.04.20 03:34l 52 Lines 1499 Bytes #999 (0) @ WW
BID : 6977_PE1RRR
Read: GAST
Subj: Simple linbpq beta grabber script
Path: DB0FFL<OE5XBL<DB0RBS<DB0PRT<DB0LHR<DB0ZWI<DB0ERF<OK0NAG<OK0NBR<F3KT<
EA2RCF<CX2SA<PE1RRR
Sent: 200415/0111Z 6977@PE1RRR.NLD.EURO LinBPQ6.0.19
As linbpq user testing and keeping latest update is often a bit tricky with
BPQ's messy webdir hihi. This script is really basic, but it should work ok.
It will keep the last versions around, and download the recent with the file
date as part of the filename, and symlink that to either 'pilinbpq' or 'linbpq'
The latter is up to you to configure.
Here's the script
#!/bin/bash
dir=/home/bpq/node
file="pilinbpq"
branch="Beta"
choice=$1
if [ "$choice" = "1" ]
then
echo TEST
branch="Test"
else
echo BETA
branch="Beta"
fi
wget "http://www.cantab.net/users/john.wiseman/Downloads/${branch}/${file}" -O "${dir}/${file}.new"
chmod 755 "${dir}/${file}.new"
chmod u+s "${dir}/${file}.new"
filedate=`date -r "${dir}/${file}.new" "+%Y%m%d_%H%M"`
mv "${dir}/${file}.new" "${dir}/${file}.${filedate}"
unlink "${dir}/${file}"
ln -s "${dir}/${file}.${filedate}" "${dir}/${file}"
echo "New: $filedate"
Tip: it has a argument '1' if you want to pull any Test version down, but I must
stipulate DO NOT DO THIS unless you're in the bpqchatroom with us as these are very
specific for realtime testing.
If you want to find the BPQ chat its easy, just pick any of the BPQnodes with a
CHAT command. They're normally linked. But honestly, the best way to get
support.
https://groups.io/g/bpq32/topics
The current beta version os of writing (it will change tomorrow again) is 6.0.19.61
73 and best wishes
Stay safe, test betas.
Red http://eindhoven.space/ (P.S I put some new music out to relax to, enjoy)
Lese vorherige Mail | Lese naechste Mail
| |