#!/bin/sh

. /var/packages/NoteStation/scripts/pkg_utils

if [ "UNINSTALL" == "$SYNOPKG_PKG_STATUS" ]; then

	if [ "$pkgwizard_rm_repo" == "true" ]; then
		$REPO_BIN --remove
	else
		$TODO_BIN --clear_orphan
	fi
fi


exit 0
