File: update-supercheckpartial

package info (click to toggle)
hamradio-files 20251125
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,192 kB
  • sloc: sh: 67; makefile: 11
file content (13 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -eux

wget --mirror http://supercheckpartial.com/MASTER.SCP

VERSION="$(grep 'Release' supercheckpartial.com/MASTER.SCP | cut -d ' ' -f 3 | tr -d '
')"
OLDVERSION=$(cat supercheckpartial.release)
if [ "$VERSION" != "$OLDVERSION" ]; then
  dch "Update supercheckpartial MASTER.SCP to version $VERSION."
  echo "$VERSION" > supercheckpartial.release
fi