#!/bin/bash
. findwine
if [ -e "$HOME/.wine/c/Program Files/MSOffice/Powerpnt/POWERPNT.EXE" ]; then
  $WINE "c:\\program files\\msoffice\\powerpnt\\powerpnt.exe" ${PARAM:+"$PARAM"} &>/dev/null &
elif [ -e "$HOME/.wine/c/MSOffice/Powerpnt/POWERPNT.EXE" ]; then
  $WINE "c:\\msoffice\\powerpnt\\powerpnt.exe" ${PARAM:+"$PARAM"} &>/dev/null &
else
  if [ -e ${BINDIR}/ppointview2003 ]; then
    ppointview2003 $@
  else
    ppointview97 $@
  fi
fi
wait $!
