echo
# possibly the package exists
mkdir -p ./download/$dir/$pkg ; cd ./download/$dir/$pkg
+ tolf="`find ../.. -name $file | tail -1`"
+ if [ -n "$tolf" ] ; then
+ [ -d $tolf ] && tolf=""
+ fi
if [ -f ./$file ] ; then
echo "$file allready downloaded."
echo
- elif [ -n "`find ../../.. -name $file`" ] ; then
- tolf="`echo $bar | awk '{ print $1 }'`"
+ elif [ -n "$tolf" ] ; then
ln -svf $tolf .
else