#!/bin/bash -e

if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
# set -u	not because of debhelper

if [ "$1" = "purge" ]; then
	rm -rf /etc/frr /var/run/frr /var/log/frr
  	userdel frr >/dev/null 2>&1 || true
fi

#DEBHELPER#
