summarylogtreecommitdiffstats
path: root/aur-cfg.sh
blob: d3e351ea103db1685befa34a7d9b29efb363c82c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function get_latest_version {
  curl -s https://get.atomicwallet.io/download/ \
    | grep 'atomicwallet-2.*\.rpm"' \
    | sort \
    | tail -1 \
    | sed 's/.*wallet-\(2[0-9.-]*\)\.rpm.*/\1/'
}

version_suffix_separator=-

function clean_downloads {
  rm -vf atomicwallet-*.rpm
}