summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-08-04 20:45:02 +0200
committerErich Eckner <git@eckner.net>2021-08-04 20:45:02 +0200
commitebb51f3c27856cb1ff3e15008ab6bc72f5206595 (patch)
tree671dbf7c62bd1c473123c2f1db21211f5ef1c63f
parent0b17d9ddb24f8d001b25d84a7fca4f21ef129b51 (diff)
downloadcrux-ports-ebb51f3c27856cb1ff3e15008ab6bc72f5206595.tar.xz
purple-plugin-pack: fix lastVersion.sh
-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
' \