#!/bin/bash


#Just dezip, to get the config file.

version=`echo *.tar.gz | sed 's/\.tar\.gz//g' | sed 's/latex2rtf-//g'`

#Some cleanup
rm -rf latex2rtf-$version cfg

#untar 
tar -zxvf  latex2rtf-$version.tar.gz

#link cfg directory
ln -s latex2rtf-$version/cfg ./cfg
