#!/bin/sh

case $2 in
	PRE-DEINSTALL)
		%%FIND%% "%%VIMFILESDIR%%" -name "*.pyc" -delete
		;;
	POST-DEINSTALL)
		/bin/rm "%%VIMFILESDIR%%/doc/tags"
		%%FIND%% "%%VIMFILESDIR%%" -name "*.pyc" -delete
		;;
esac
