#!/bin/sh

ORIGPATH="$( pwd )"
cd ${ORIGPATH}

function grab_sourceball () {
local URL="$1"
local file="$( echo ${URL} | rev | cut -d/ -f1 | rev )"
if [ ! -f ${file}* ]; then
   echo "Downloading ${URL}"
   wget -N ${URL}
 else
   echo "Already have ${file}, skipping.."
fi
}

grab_sourceball http://ftp.debian.org/debian/pool/main/u/umsdos/umsdos_1.13-2.1.diff.gz

