summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanualPorts/purple-plugin-pack/lastVersion.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/manualPorts/purple-plugin-pack/lastVersion.sh b/manualPorts/purple-plugin-pack/lastVersion.sh
index 1017afc..16f53fc 100755
--- a/manualPorts/purple-plugin-pack/lastVersion.sh
+++ b/manualPorts/purple-plugin-pack/lastVersion.sh
@@ -1,9 +1,8 @@
#!/bin/bash
-curl -Ss 'https://dl.bintray.com/pidgin/releases/' \
-| tr ' <>' '\n' \
+curl -Ss 'https://sourceforge.net/projects/pidgin/files/purple%20plugin%20pack/' \
| sed '
- s@^href=":purple-plugin-pack-\([0-9.]\+\)\.tar\.xz"$@\1@
+ s@^.*<tr title="\([0-9.]\+\)" class="folder ">.*$@\1@
t
d
' \