From 8369174017a8831559d0c08a86495eb4038082ff Mon Sep 17 00:00:00 2001 From: Rescue9 Date: Mon, 25 May 2020 00:34:18 -0500 Subject: [PATCH] Added sed statement to remove all release candidate files (-rc) --- update-bap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-bap b/update-bap index 71202ed..944f0c1 100644 --- a/update-bap +++ b/update-bap @@ -65,7 +65,7 @@ if [ $WSJ = 'y' ] || [ $WSJ = 'Y' ];then echo "removing old WSJTX" sudo apt-get remove -y wsjtx echo "installing new WSJTX" -WSPKG=$(curl -s https://physics.princeton.edu/pulsar/k1jt/wsjtx.html | grep armhf.deb | sed 's/^.*wsjtx/wsjtx/' | sed 's/deb.*$/deb/') +WSPKG=$(curl -s https://physics.princeton.edu/pulsar/k1jt/wsjtx.html | grep armhf.deb | sed 's/^.*wsjtx/wsjtx/' | sed 's/deb.*$/deb/' | sed '/-rc/d') cd $HOME/Downloads wget https://physics.princeton.edu/pulsar/k1jt/$WSPKG sudo dpkg -i $WSPKG