#!/bin/sh set -e # Automatically added by dh_installdeb/13.24.2 dpkg-maintscript-helper rm_conffile /etc/init.d/gpsd 3.18.1-1\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.24.2 if [ -z "$DPKG_ROOT" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'gpsd.service' 'gpsd.socket' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.24.2 if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/gpsd" ] ; then chmod +x "/etc/init.d/gpsd" >/dev/null || true fi # End automatically added section