#!/bin/bash

set -e

###############################################################################
#
# Remove the 'gnats' system configuration when purging
#

#  if [ "$1" = purge ]; then
#    rm "$GNATSDIR/$SITE"
#    rmdir "$GNATSDBDIR"
#  fi

#
# Remove symlinks to databases
#

if [ "$1" = purge ]; then
  rm -f /etc/gnats/db-config/*
fi
