summarylogtreecommitdiffstats
path: root/aur-cfg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aur-cfg.sh')
-rw-r--r--aur-cfg.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/aur-cfg.sh b/aur-cfg.sh
new file mode 100644
index 000000000000..8367a6c2336b
--- /dev/null
+++ b/aur-cfg.sh
@@ -0,0 +1,7 @@
+function get_latest_version {
+ curl -s https://github.com/szszoke/sennheiser-gsp670-pulseaudio-profile/releases/latest | perl -pe 's!.*/tag/(.+?)".*!$1!'
+}
+
+function clean_downloads {
+ rm -rf *.tar.gz
+}