#!/bin/sh
# ESP Package Manager v3.7.0
# echo Command after removing

# searching for the PRODUCTINSTALLLOCATION for the different platforms
platform=`uname -s`
case $platform in
SunOS)
  PRODUCTINSTALLLOCATION="$BASEDIR"
  ;;
Linux)
  PRODUCTINSTALLLOCATION="$RPM_INSTALL_PREFIX"
  ;;
*)
  PRODUCTINSTALLLOCATION="$BASEDIR" 
  ;;
esac

if [ -h $PRODUCTINSTALLLOCATION/program/python-core ]
then
  rm -f $PRODUCTINSTALLLOCATION/program/python-core >/dev/null 2>&1
fi

if [ -h $PRODUCTINSTALLLOCATION/program/python ]
then
  rm -f $PRODUCTINSTALLLOCATION/program/python >/dev/null 2>&1
fi


exit 0
