summaryrefslogtreecommitdiff
path: root/manualPorts/ufraw/lastVersion.sh
blob: 795d62198cef61f66ee756eb99ce0de46ffa2580 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl "https://sourceforge.net/projects/ufraw/files/ufraw/" 2> /dev/null | \
  tr "\"" "\n" | \
  grep "^/projects/ufraw/files/ufraw/ufraw-.*/\$" | \
  sed "s|^/projects/ufraw/files/ufraw/ufraw-\(.*\)/\$|\1|" | \
  sort -V | \
  tail -n1