summaryrefslogtreecommitdiff
path: root/manualPorts/wurzel-mp/lastVersion.sh
blob: 877a519ed62717bd110c77f3185c1cebc4b0d94f (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl "http://www.wurzel.org/distfiles/" 2> /dev/null | \
  tr '"' '\n' | \
  grep '^wurzel-mp-[0-9.-]*\.tar\.bz2$' | \
  sed 's|^wurzel-mp-\([0-9.-]*\)\.tar\.bz2$|\1|' | \
  sort -V | \
  tail -n1