diff options
author | David Barri | 2021-04-23 08:28:17 +1000 |
---|---|---|
committer | David Barri | 2021-04-23 08:28:17 +1000 |
commit | deca2bd1270efd21b1a8bae3b235581f27bc7704 (patch) | |
tree | 0ed54bf6f86a41b106df5daf5e2db78c678125e6 /aur-cfg.sh | |
parent | cd9bb734691a9703f72755df73de00eb7059b882 (diff) | |
download | aur-deca2bd1270efd21b1a8bae3b235581f27bc7704.tar.gz |
Use external aur script
Diffstat (limited to 'aur-cfg.sh')
-rw-r--r-- | aur-cfg.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/aur-cfg.sh b/aur-cfg.sh new file mode 100644 index 000000000000..07605561c738 --- /dev/null +++ b/aur-cfg.sh @@ -0,0 +1,7 @@ +function get_latest_version { + curl -s https://github.com/CryptoGraphics/VerthashMiner/releases/latest | perl -pe 's!.*/tag/v?([0-9].+?)".*!$1!' +} + +function clean_downloads { + rm -vf VerthashMiner-*.tar.gz +} |