#!/bin/sh

set -e

if ! getent passwd automaildetect > /dev/nul; then
  echo 'Adding autmaildetect user and group' 1>&2
  adduser --system --group --quiet --home /nonexistent \
    --no-create-home --force-badname --disabled-login automaildetect
fi


# Automatically added by dh_python3:
if which py3compile >/dev/null 2>&1; then
	py3compile -p automaildetect 
fi
if which pypy3compile >/dev/null 2>&1; then
	pypy3compile -p automaildetect  || true
fi

# End automatically added section

