#!/bin/sh
#
# $Id: synce-remove-program.in,v 1.1 2002/12/04 18:56:36 twogood Exp $
#
# Script to uninstall a program
#
# See http://www.pocketpcdn.com/qa/uninstall.html to know how it works.
#
prefix=/usr/pkg
exec_prefix=${prefix}

if [ -z "$1" ]; then

	echo "As parameter to this script, please enter the program name as it appears under
Settings -> Remove programs on your Windows CE device."

	exit 1
fi

${exec_prefix}/bin/prun unload.exe "$1"
