This repository has been archived on 2020-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
vn-repo/debian/postrm

16 lines
327 B
Bash
Executable File

#!/bin/bash
set -e
# Removes the repository user
# FIXME: This package cannot upgrade 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