summaryrefslogtreecommitdiff
path: root/manualPorts/icon-naming-utils/lastVersion.sh
blob: d40ea120adf6ee57b9cee0aab4790c3fe97f4196 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

curl -Ss 'http://tango.freedesktop.org/releases/' | \
  tr '"<>' '\n' | \
  sed '
    s/^icon-naming-utils-\([0-9.]\+\)\.tar\.gz$/\1/
    t
    d
  ' | \
  sort -V | \
  tail -n1