#!/bin/bash
set -e

# Removes the repository user

# FIXME: This package cannot deploy itself because user is logged in
#userdel vn-repo

# Enables Apache configuration

if [ -e /usr/share/apache2/apache2-maintscript-helper ]
then
    . /usr/share/apache2/apache2-maintscript-helper
    apache2_invoke disconf vn-repo.conf
fi