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

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