#!/bin/sh

# This script write out version of wine from config file

CONFIG_FILE=$HOME/.wine/config

if test ! -f $CONFIG_FILE ; then                                                
  # The config file does not exist
  exit 1                                                                        
fi

grep ";;Configuration for wine version" $HOME/.wine/config | tail --lines=1 | cut -d: -f2 | sed -e "s| ||g"

