summarylogtreecommitdiffstats
path: root/aur-cfg.sh
diff options
context:
space:
mode:
authorDavid Barri2021-04-23 07:36:15 +1000
committerDavid Barri2021-04-23 07:36:15 +1000
commit0a944dc0c412dadf505792e9129d5f8cf414856e (patch)
tree3208d1cda9765a4e859141cc235a6ce55dcc0661 /aur-cfg.sh
parent8c3a1aa9b1fe7e079bc8538af588a22341d6fc54 (diff)
downloadaur-0a944dc0c412dadf505792e9129d5f8cf414856e.tar.gz
Use external aur script
Diffstat (limited to 'aur-cfg.sh')
-rw-r--r--aur-cfg.sh9
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=-