You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/grabtarball

21 lines
276 B

#!/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