#!/bin/sh set -e # There was a bug in the package (<< 0.15). We need to # move the file to the new location if dpkg-maintscript-helper supports mv_conffile; then dpkg-maintscript-helper mv_conffile \ /etc/network/network-routes /etc/network/routes 0.14 -- "$@" fi # Automatically added by dh_installinit/13.15.3 if [ "$1" = "remove" ] && [ -x "/etc/init.d/networking-routes" ] ; then chmod -x "/etc/init.d/networking-routes" >/dev/null || true fi if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d networking-routes remove >/dev/null fi # End automatically added section # Automatically added by dh_installsystemd/13.15.3 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'networking-routes.service' >/dev/null || true fi fi # End automatically added section # vim:tabstop=2:expandtab:shiftwidth=2