summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'versioncp/upstscripts/freshmeat')
-rwxr-xr-xversioncp/upstscripts/freshmeat14
1 files changed, 0 insertions, 14 deletions
diff --git a/versioncp/upstscripts/freshmeat b/versioncp/upstscripts/freshmeat
deleted file mode 100755
index b7f6a0c..0000000
--- a/versioncp/upstscripts/freshmeat
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# Strip cat, we only need the pkg name
-fmpkg="`echo ${1} | sed -e "s|^.*/||g"`"
-
-# Take care of outputting the version number
-pwd="`pwd`"
-if ! test -d "${pwd}/${fmpkg}-tmp" ; then
- mkdir "${pwd}/${fmpkg}-tmp"
-fi
-cd "${pwd}/${fmpkg}-tmp"
-wget --quiet --tries=1 --timeout=3 "http://freshmeat.net/projects-xml/${fmpkg}/${fmpkg}.xml"
-grep -i 'latest_release_version' ${fmpkg}.xml | sed -e "s|^.*<latest_release_version>||g" | sed -e "s|</latest_release_version>.*||g" | sed -e "s|^[A-Za-z _-]*||g" | sed -e "s|-[cCe-oE-OqQs-zS-Z]\{1\}.*||g"
-rm -Rf "${pwd}/${fmpkg}-tmp"