diff options
Diffstat (limited to 'opensuse/grabtarball')
-rw-r--r-- | opensuse/grabtarball | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/opensuse/grabtarball b/opensuse/grabtarball new file mode 100644 index 000000000..7383dd429 --- /dev/null +++ b/opensuse/grabtarball @@ -0,0 +1,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 |