#!/bin/sh -e
set -e

rmdir /usr/local/lib/xemacs/site-lisp > /dev/null 2>&1 && \
   rmdir /usr/local/lib/xemacs > /dev/null 2>&1 || \
   true 

if [ -L /usr/lib/xemacs-@VERSION@/etc ]; then
	rm -f /usr/lib/xemacs-@VERSION@/etc
fi
if [ -L /usr/lib/xemacs-@VERSION@/lisp ]; then
	rm -f /usr/lib/xemacs-@VERSION@/lisp
fi

##DEBHELPER##
