summaryrefslogtreecommitdiff
blob: 78c4f1ff9a3e3b3342b8e3a04bb83b1697530e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

echo "Trying the most common places for a package to be ..."

# Try them ...
pwd="`pwd`"
sfvers="`${pwd}/upstscripts/sourceforge $1`"
fmvers="`${pwd}/upstscripts/freshmeat $1`"
bevers="`${pwd}/upstscripts/berlios $1`"

if [[ -n "${sfvers}" ]] ; then
	echo "Package $1 found on SourceForge with version ${sfvers}"
fi

if [[ -n "${fmvers}" ]] ; then
	echo "Package $1 found on FreshMeat with version ${fmvers}"
fi
if [[ -n "${bevers}" ]] ; then
	echo "Package $1 found on Berlios with version ${bevers}"
fi

if [[ -z "${sfvers}" ]] && [[ -z "${fmvers}" ]] && [[ -z "${bevers}" ]] ; then
	echo "Not found anywhere ..."
fi