summaryrefslogtreecommitdiffstats
path: root/opensuse/grabtarball
blob: 7383dd4290e1a5b4e4b40259684c750f0509bb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

URL="http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13"
VERSION=3.5.13

runMgr(){

	if [ "$1" == "qt3" ]; then
		VERSION=3.3.8d
	fi

	wget $URL/$1-$VERSION.tar.gz

	if [ "$2" != "" ]; then
		mv -v $1-$VERSION.tar.gz $2-$VERSION.tar.gz
	fi

}

runMgr $1 $2