diff options
author | David Barri | 2021-04-23 07:36:15 +1000 |
---|---|---|
committer | David Barri | 2021-04-23 07:36:15 +1000 |
commit | 0a944dc0c412dadf505792e9129d5f8cf414856e (patch) | |
tree | 3208d1cda9765a4e859141cc235a6ce55dcc0661 /aur-cfg.sh | |
parent | 8c3a1aa9b1fe7e079bc8538af588a22341d6fc54 (diff) | |
download | aur-0a944dc0c412dadf505792e9129d5f8cf414856e.tar.gz |
Use external aur script
Diffstat (limited to 'aur-cfg.sh')
-rw-r--r-- | aur-cfg.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/aur-cfg.sh b/aur-cfg.sh new file mode 100644 index 000000000000..d967a2817b06 --- /dev/null +++ b/aur-cfg.sh @@ -0,0 +1,9 @@ +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=- |