#!/bin/sh set -e # It seems that dh_installinit doesn't remove the sysvinit/upstart symlinks :( # We won't be needing that in the future, it's only for the sysvinit/upstart => # systemd migration. if [ "$1" = install ] || [ "$1" = upgrade ]; then update-rc.d -f epoptes remove rm -f /etc/init.d/epoptes /etc/init/epoptes.conf fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#