#!/bin/sh
set -e

# Automatically added by dh_installdeb/13.6
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/insserv 1.14.0-3 insserv -- "$@"
# End automatically added section


# When installing insserv (usually via sysvinit-core) on an existing system,
# fix up the rc?.d priorities from the dumb update-rc.d fallback (which uses
# priority 01 for everything).
if [ "$1" = "configure" ] && [ -z "$2" ]; then
    insserv || true
fi
